You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kerri Shotts (JIRA)" <ji...@apache.org> on 2017/02/13 16:35:41 UTC
[jira] [Commented] (CB-12449) Android App Name is incorrect after
restore
[ https://issues.apache.org/jira/browse/CB-12449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863947#comment-15863947 ]
Kerri Shotts commented on CB-12449:
-----------------------------------
Can't duplicate this with {{cordova-android@6.1.2}}. Can you verify that your issue goes away if you move to {{cordova-android@6.1.2}}?
> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org