Answer the question
In order to leave comments, you need to log in
How to set icon in cordova for android?
I'm writing a project in the Intel XDK environment. I'm building it
using Cordova . I
specified links to icons in the project settings, all in PNG format.
Additionally, I also registered in intelxdk.config.additions.xml
<icon platform="android" src="pkg/android/icon-ldpi.png" density="ldpi" width="36" height="36" />
<icon platform="android" src="pkg/android/icon-mdpi.png" density="mdpi" width="48" height="48" />
<icon platform="android" src="pkg/android/icon-hdpi.png" density="hdpi" width="72" height="72" />
<icon platform="android" src="pkg/android/icon-xhdpi.png" density="xhdpi" width="96" height="96" />
Answer the question
In order to leave comments, you need to log in
There are two options here - either you don’t have all the necessary icons generated (you can create them using cordova-gen-icon ), or, more likely, the cordova icon just fell into the Android cache for this application. How to clean it can be read here (you need to restart the launcher or reboot the phone)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question