Renaming app name

两盒软妹~` 提交于 2019-12-25 08:34:28

问题


In my app - i'd like to rename my app for separate variations.

For Android, can I rename the app_name resource at

.\platforms\android\src\main\res\values\strings.xml

Is that the right place?

Ideally I would like the apk file to be the same - but I can rename that later.


回答1:


Do you have the folder App_Resources under folder App? If so, change the app name at .\app\App_Resources\Android\values\strings.xml. The one that you change in .\platform will get override by this one every time you build the app




回答2:


to me it's that file :

.\platforms\android\src\main\res\values\strings.xml

but then you'll have to quit all processes after uninstalling the app from emulator/device... So the next time you execute "tns run plateform" it'll rebuild reaching the names set in the strings. You have control over : Icon name, APP Title name (the action bar title) Cheers



来源:https://stackoverflow.com/questions/39337730/renaming-app-name

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!