m0dch3n / vue-cli-plugin-cordova

Vue Cli 3 Cordova Plugin
MIT License
417 stars 63 forks source link

Cordova 11 Broken removes res files and google-services.json #154

Open jonathanalberghini opened 1 year ago

jonathanalberghini commented 1 year ago

For some reason I run

  1. yarn install 2 cordova prepare

All of the Res files from the config.XML are present and the google-services.json then I do a yarn build:browser && yarn build:ios && yarn build:android which is "build:android": "cross-env CORDOVA_PLATFORM=android vue-cli-service cordova-build-android", "build:browser": "cross-env CORDOVA_PLATFORM=browser vue-cli-service cordova-build-browser", "build:ios": "cross-env CORDOVA_PLATFORM=ios vue-cli-service cordova-build-ios",

"build:android": "cross-env CORDOVA_PLATFORM=android vue-cli-service cordova-build-android", In this command somewhere it does a clean and it ends up removing those files. and I get the error missing colors.xml and it gives a path but it was there for some reason I don't know why it is cleaning them out. All I have to do is change one line and it will build perfect. "dependencies": { "cordova-android": "11.0.0", to "dependencies": { "cordova-android": "10.1.2", here is the package.json package.json.txt

Does anyone have any input on why this is broken?