TiBz0u commented on issue #1461: URL: https://github.com/apache/cordova-android/issues/1461#issuecomment-1219445371
Hi, as previously stated, I try the migration to Cordova Android 11. I had exactly the same error. However, with the analysis above, I quickly fixed the build. We add a `after_prepare` script that overwrites the `colors.xml` of Cordova by ours. Once disabled, it worked fine. As Android mentioned it, the filename "res/values/colors.xml" is [arbitrary](https://developer.android.com/guide/topics/resources/more-resources#Color) ; thus you can rename it to whatever and it'll work (ie: colors-custom.xml) (if someone can confirm, will be great). Kr. -- 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]
