jonathanalberghini opened a new issue, #1551:
URL: https://github.com/apache/cordova-android/issues/1551
# Bug Report
## Cordova 11 Broken when using vue cli removes res files like colors.xml
and google-services.json
## Information
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
3 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](https://github.com/m0dch3n/vue-cli-plugin-cordova/files/10503303/package.json.txt)
Does anyone have any input on why this is broken?
### Command or Code
see description
### Environment, Platform, Device
mac new chip
### Version information
attached package.json
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x ] I searched for existing
[package.json.txt](https://github.com/apache/cordova-android/files/10503466/package.json.txt)
GitHub issues
- [ x] I updated all Cordova tooling to most recent version
- [ x] I included all the necessary information above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]