Cordova Android 6.4.0 creates a top-level backup folder, not inside android platforms

After I fixed the cord and my project from 6.3.1 to 6.4.0, when I create the version for Android, it creates a res folder with splash screens and icons at the top level of the project, and not on the / android / res platforms where it should. Thus, my application has default cordon icons and splash screens instead of mine.

Is this a bug in the new version of Cordoba? Does anyone know the settings that could interfere with this? It worked fine when I used 6.3.1.

Thanks.

+7
android build cordova icons splash-screen
source share
2 answers

This problem is solved in cordova-android 6.1.0 , but if you try the cordova platform update android is not currently updated to 6.1.0 .

Run

 cordova platform update android@6.1.0 --save cordova platform rm android cordova platform add android 

to solve this problem.

Some people still have a problem after the command above ... Try:

 cordova platform update android@6.2.0-nightly.2016.12.9.6c60dc5d --save cordova platform rm android cordova platform add android 

You can also try: android @latest ....

Also try: ionic resources --icon

I use this version and it works, let me know if it solves the problem ...

+11
source share

after upgrading to cordova 6.4.0

Cordova platform update android@6.1.0 --save Cordoba platform rm android Cordoba platform add android

did not fix the problem for me, I had to manually copy resources from res to android / res

+2
source share

All Articles