Duplicate Resources (string/app_name)

What platform are you building for?

Android

What framework are you building with?

Cordova

What is your build ID?

d49fc760-5c85-404f-968e-5cf99a36e78e

What is your error message?

[string/app_name] /agent/upload/d49fc760-5c85-404f-968e-5cf99a36e78e/platforms/android/app/src/main/res/values/cdv_strings.xml [string/app_name] /agent/upload/d49fc760-5c85-404f-968e-5cf99a36e78e/platforms/android/app/src/main/res/values/strings.xml: Error: Duplicate resources

Please describe the issue:

An app that I could build a few months ago now generates this error message. I’ve gone through the code and can’t figure out the cause. It could be an issue with engine version etc, so I’ll continue looking.

I found the issue. For whatever reason I had added app_name to the translation files while it’s already defined in config.xml. The potential remaining issue is that you can’t have different names on an app for different languages if app_name needs to be defined in config.xml as well.