After upading cordova and my project from 6.3.1 to 6.4.0, when I build the Android version, it generates the res folder with splash screens and icons files, at top level of the project, instead of at platforms/android/res where it should. Thus my app has the default cordova icons and splash screens instead of mine.
Is this a bug in the new Cordova version? Does anyone know of a setting that could prevent this? It was working ok when I used 6.3.1 .
Thanks.
This issue is solved in cordova-android 6.1.0
but if you try cordova platform update android
at this moment doesn't update to 6.1.0
.
Run
cordova platform update [email protected] --save
cordova platform rm android
cordova platform add android
to solve this issue.
Some people seem to still have the issue after the command above... Try:
cordova platform update [email protected] --save
cordova platform rm android
cordova platform add android
You can also try: android@latest ....
Also try: ionic resources --icon
I'm using that version and it works, let me know if it solved the problem...
after updating to cordova 6.4.0
cordova platform update [email protected] --save cordova platform rm android cordova platform add android
did not fix the issue for me, I had to manually copy the resources from res to android/res
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With