Closed herrmanno closed 6 years ago
The problem is caused in cordova-android@7.0.0. Change the title for this more specific.
No-solution: downgrade to cordova-android@6.4.0.
Move platform/android/res to platforms/android/app/src/main/
I agree with @tominou
please update index.js of cordova-icon
and cordova-splash
android path with 'platforms/android/app/src/main/res/'
for now, I have changed in my installed package.
If you use cordova-android@7.0.0, you can install my fork:
npm uninstall -g cordova-icon
Then
npm install -g tominou/cordova-icon
I also made a fork of cordova-splash in case you need: tominou/cordova-splash
Please try the latest version, it should work now
Still not working for me. I'm currently on Cordova 8 though. icon compatibility seems like something that should remain steady. 🤔
After executing
cordova-icon
I am no longer able to build my android project. There seems to be a problem in cordova-icon creating the directoryplatforms/res/
which does not contain subdirectoriesxml
,values
etc.What I've done: