erisu commented on issue #1461: URL: https://github.com/apache/cordova-android/issues/1461#issuecomment-1407561254
@scyclops Thank you for pointing out the docs you followed that caused this issue. Before Cordova-Android 11 the `colors.xml` file did not exist and was added to support the new SplashScreen requirements from Android. This line will now cause issues as it will overwrite the exisiting `colors.xml` file. I believe you can rename your colors file to something else and Android build it should pick it up automatticly. E.g. ```xml <resource-file src="res/values/myCustomAdaptiveIconColors.xml" target="/app/src/main/res/values/myCustomAdaptiveIconColors.xml" /> ``` You can keep whatever you have now in the `src` value, or rename if desired, but the target is the important part that should chanmge to avoid conflicts. You might also be able to use `config-file` to add elements to the exisiting `colors.xml` instead of uploading a file, but it might be better create new xml files instead. There were some reports where even plugins overwritten the `colors.xml` file. I will take a look in updating the documentation. -- 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]
