Changing the Cordova app icon(最簡單的方法)
Changing the Cordova app icon
i have been trying to change the icon for hours. this is the only way works on me. i has spent me 8 hours tried many ways to figure out how to change the icon.
before "cordova build android" after "cordova platform add android" just need 2 step :
1.
add myico.png in
D:\note\platforms\android\res\drawable
2.
D:\note\platforms\android\AndroidManifest.xml
<application android:hardwareAccelerated=”true” android:icon=”@drawable/myIcon” android:label=”@string/app_name”>

i have been trying to change the icon for hours. this is the only way works on me. i has spent me 8 hours tried many ways to figure out how to change the icon.
before "cordova build android" after "cordova platform add android" just need 2 step :
1.
add myico.png in
D:\note\platforms\android\res\drawable
2.
D:\note\platforms\android\AndroidManifest.xml
<application android:hardwareAccelerated=”true” android:icon=”@drawable/myIcon” android:label=”@string/app_name”>
Comments
Post a Comment