Reputation: 25
I've tried:
thanks!
Upvotes: 1
Views: 1758
Reputation: 4070
although you accepted a different answer, that did not help me so for some of you reading this please note the following:
you need to use something like this in you config.xml:
<icon src="icon.png" />
<icon gap:platform="android" gap:qualifier="ldpi" src="img/icons/android/icon-36-ldpi.png" />
<icon gap:platform="android" gap:qualifier="mdpi" src="img/icons/android/icon-48-mdpi.png" />
<icon gap:platform="android" gap:qualifier="hdpi" src="img/icons/android/icon-72-hdpi.png" />
<icon gap:platform="android" gap:qualifier="xhdpi" src="img/icons/android/icon-96-xhdpi.png" />
<icon gap:platform="ios" height="57" src="img/icons/ios/icon-57.png" width="57" />
<icon gap:platform="ios" height="72" src="img/icons/ios/icon-72.png" width="72" />
<icon gap:platform="ios" height="114" src="img/icons/ios/icon-57-2x.png" width="114" />
<icon gap:platform="ios" height="144" src="img/icons/ios/icon-72-2x.png" width="144" />
<icon gap:platform="winphone" src="img/icons/windows-phone/icon-48.png" />
<icon gap:platform="winphone" gap:role="background" src="img/icons/windows-phone/icon-173-tile.png" />
please note that the path is img/bla-bla-bla ... it can be whatever you want ... BUT ... that path it is relative to you www folder ... so it will actually map to www/img/bla-bla-bla
hope this helps someone ... i found it the hard way :)
Rares
Upvotes: 1
Reputation: 4816
If you have correctly updated your icon files in platforms/ios/YourAppName/Resources/icons
and you still can't see the change then make sure you:
Product > Clean
and then re run your app.Upvotes: 2
Reputation: 11707
You need to replace all icon files in res folder. Once you done, just clean your eclipse project and run.
Upvotes: 1