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.

Application Crash

See original GitHub issue

Hello, i try to change the application name & bundle installation on emulator working, when i try to open the app, it crash… no error… just crash and still crash… "react-native": "0.62.2" any help? how i can fix it?

command runned is: react-native-rename "NewName" -b com.company.newname

thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:11

github_iconTop GitHub Comments

14reactions
AliAmjadHassancommented, Dec 9, 2020

Install react-native-rename globally and then: Steps to follow to change package and App Name Correctly:

  1. Copy MainActivity.java and MainApplication.java from .\android\app\src\main\java\com<YourAppName> and paste it somewhere else
  2. Run command react-native-rename “NewName” -b com.company.newname
  3. Paste MainActivity.java and MainApplication.java in .\android\app\src\main\java\com<YourAppName>
  4. Change the name of the package in MainActitvity.java and MainApplication.java manually
  5. go to ./android and run ./gradlew clean command from windows PowerShell
  6. Delete any existing debug-app already installed on phone.
  7. run command to start the app
5reactions
darron1217commented, Dec 10, 2020

The path of ReactNativeFlipper.java is not changing on 2.6.0 latest.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
How to Fix Application Crashes and Errors on a Computer
Many application crashes and glitches occur due to errors in the software's code. Once program developers discover an error, they often release a...
Read more >
11 common reasons for mobile app crashing - DECODE
Mobile apps crash for many different reasons. Sometimes, they are the result of inadequate app testing, poor memory management, ...
Read more >
What is a Crash? - Definition from Techopedia
A crash, in the context of computing, is an event wherein the operating system or a computer application stops functioning properly. It mostly...
Read more >
How to Fix Crashing Apps on an iPhone or Android?
If you have an app that does not respond when you try to interact with it on your smartphone screen, the traditional fix...
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