question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Renaming app fails

See original GitHub issue

Hi,

Thanks for developing this starter app, it’s really helpful!

I’m trying to rename the app and I keep getting the following error:

react-native-rename MyAppName The app_name value in ./android/app/src/main/res/values/strings.xml must be the same with ./ios/AppFolderName before renaming the app. ex. ./ios/CoolApp ---> <string name="app_name">CoolApp</string> and try running the command again with you new app name. ex. react-native-rename "Awesome App" If your're using Windows OS, please run this command using Git Bash or Cygwin or other equivalent that runs Linux commands.

Any help would be greatly appreciated.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
GlenHughescommented, Mar 12, 2017

Hey, thanks for you help on this. I’ve completed a fresh clone and it worked first time. I must of changed something that’s affecting it. It maybe worth adding to: https://github.com/mcnamee/react-native-starter-app/blob/master/docs/renaming.md that you should make sure it’s a clean install.

1reaction
wzuocommented, Mar 11, 2017

this may be the issue. did you try to clone repo and run this command on pristine repository? it works for me on Linux

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rename Application Roles Fails with "Failed to rename app ...
While running below command to rename application roles, it fails with an error message "Failed to rename app roles for plugins".
Read more >
App release fails after rename · Issue #1279 - GitHub
After using the API to rename the app (changing both name and display_name) running appcenter distribute release fails with both new and old ......
Read more >
Responding to server rename status errors - IBM
If any of the application renames fails, the overall server rename is not completed. If you see a failure, the first thing that...
Read more >
Solved: Unable to rename app - Splunk Add On Builder
Renaming it via the add on builder fails and renaming it outside of the app breaks the whole app as it runs based...
Read more >
Solved: Cannot rename app - Power Platform Community
Today i tried to rename an PowerApp but came into a limitation where i could not do this. I have renamed my apps...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found