Connor Pearson created CB-12449: ----------------------------------- Summary: Android App Name is incorrect after restore Key: CB-12449 URL: https://issues.apache.org/jira/browse/CB-12449 Project: Apache Cordova Issue Type: Bug Components: Android, CordovaLib Affects Versions: 6.4.0 Environment: MacOS 10.12.2 Reporter: Connor Pearson
After a restore of the Android platform the App Name is not set correctly. This seems to only occur when using 6.x versions of the CLI with cordova-android 5.1.1 {code} $ cordova create foo com.example.foo Foo $ cd foo/ $ cordova platform add android@5.1.1 --save $ cat platforms/android/res/values/strings.xml <?xml version='1.0' encoding='utf-8'?> <resources> <string name="app_name">Foo</string> <string name="launcher_name">@string/app_name</string> <string name="activity_name">@string/launcher_name</string> </resources> $ rm -rf platforms/ $ cordova prepare android $ cat platforms/android/res/values/strings.xml <?xml version='1.0' encoding='utf-8'?> <resources> <string name="app_name">Hello Cordova</string> <string name="launcher_name">@string/app_name</string> <string name="activity_name">@string/launcher_name</string> </resources> {code} Using cordova@5.4.0 fixes the issue. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org