geoidesic opened a new issue, #1728: URL: https://github.com/apache/cordova-android/issues/1728
# Bug Report ## Problem I add this into my cordova project root config.xml file in the android platform node ``` <resource-file src="res/values/colors.xml" target="app/src/main/res/values/colors.xml" /> ``` The src file path does exist and it is valid XML `res/values/colors.xml ``` <?xml version="1.0" encoding="utf-8"?> <resources> <color name="background">#F1511A</color> </resources> ``` ### What is expected to happen? It should copy the resource to the target without complaint. ### What does actually happen? error ``` Cannot set properties of null (setting 'text') ``` ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> ``` cordova platform remove android; cordova platform add android; ``` ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> I'm running cordova on Mac OS X and trying to build it for Android API v13 for emulator. ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Cordova: 12.0.0 (cordova-lib@12.0.1) cordova-android@13.0.0 Mac OS X: 14.5 (23F79) Android Studio Koala | 2024.1.1 Patch 1 Node: v20.15.1 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing 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: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org