You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2019/09/23 09:01:00 UTC
[jira] [Closed] (CB-12449) Android App Name is incorrect after
restore
[ https://issues.apache.org/jira/browse/CB-12449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-12449.
-----------------------------
Resolution: Cannot Reproduce
I can't reproduce.
If you still face the issue (on latest version) report it on https://github.com/apache/cordova-android/issues
> 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: cordova-android, cordova-lib
> Affects Versions: 6.4.0
> Environment: MacOS 10.12.2
> Reporter: Connor Pearson
> Priority: Major
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org