Hi all,
I’ve some troubles with the automatic creation of icons and splash screen.
I have created the new icon.png and new splash.png of required dimensions.
When I launch the command ionic resources or ionic resources --splash (ionic resources --icon).
The strange thing is that some icons have been created, instead none splash have been created.
there is file names that executed by ionic for generate icons and splashscreen. So, make sure that your file name is same with it. for ldpi, mdpi, hdpi, xhdpi, etc, it’s just a dimension of the image.
then build your project into apk file, hope this help you. and i’m sorry for my bad english.
Thank you so much guys: I would like to know if the script “ionic resource” connects himself to some url, because the execution of the script writes “Upload image” and maybe in my company there is slow internet and this can cause troubles. Don’t you?
I added both platforms and launched the build of the project. I also created images from ionic templates so I think that it’s correct.
Thank you again
I think when we build use ionic build --release android, it’s just move your icon file from “resources/android/icon/” to “platforms/android/res” and rename it. but that’s just my thoughts, and i didn’t know what happened absolutely. and for splashscreen didn’t show, some people said that its caused by crosswalk.
I have followed all the steps in that guide. Thank you. What I can’t figure out it is why sometimes it works because once I have done the splash and after I made some changes it was impossible to recreate them.
Thanks