Andrew Hall
Andrew Hall

Reputation: 3073

Application icon in Google Play

I recently built an app using PhoneGapBuild. When I uploaded my app to Google Play, the application icon in the list is the default phonegap one:

enter image description here

I have these icon resources listed in my config.xml file:

<icon src="assets/icons/android/icon36.png" gap:platform="android" gap:density="ldpi" />
<icon src="assets/icons/android/icon48.png" gap:platform="android" gap:density="mdpi" />
<icon src="assets/icons/android/icon72.png" gap:platform="android" gap:density="hdpi" />
<icon src="assets/icons/android/icon96.png" gap:platform="android" gap:density="xhdpi" />

But it doesnt seem to work properly.

Do I need to add a new entry to the config.xml or is it something else?

Upvotes: 0

Views: 880

Answers (2)

Andrew Hall
Andrew Hall

Reputation: 3073

When adding icons in PhoneGap, or when working with paths in general, please check the path names are correct before posting to StackOverflow and making a fool of yourself!

Silly me!

Upvotes: 0

Anirudh Ramanathan
Anirudh Ramanathan

Reputation: 46778

I have not used PhoneGap myself, so I don't know if there is a specific way to check that. However, there is a general method. You can use apktool to show resources in your apk, change them, and then recompile.

See my answer here.

Upvotes: 1

Related Questions