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.

Release build using 0.62, application keeps stopping

See original GitHub issue

I followed the exact instruction on the page for Windows. I created the app by react-native init TestApp. I followed the instruction to build the release apk and tested with run-android --version release The app is installed successfully on the emulator. However it will not run, and says:

TestApp keeps stopping

Please help!

System: OS: Windows 10 10.0.18362 CPU: (4) x64 Intel® Core™ i7-6500U CPU @ 2.50GHz Memory: 3.92 GB / 15.89 GB Binaries: Node: 12.8.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.19.1 - C:\Users\hufer\AppData\Roaming\npm\yarn.CMD
npm: 6.5.0 - C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: API Levels: 27, 28 Build Tools: 28.0.3 System Images: android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: Version 3.6.0.0 AI-192.7142.36.36.6308749
Languages: Java: 1.8.0_232 Python: 3.7.4 npmPackages: @react-native-community/cli: Not Found react: 16.11.0 => 16.11.0 react-native: 0.62.2 => 0.62.2 npmGlobalPackages: react-native: Not Found

Steps to reproduce

  1. I followed the exact instruction on the page for Windows.
  2. I created the app by react-native init TestApp.
  3. I followed the instruction to build the release apk and tested with run-android --version release
  4. The app is installed successfully on the emulator. However it will not run, and says:

Expected Results

expected: application run on emulator, but it says ‘TestApp keeps stopping’

Snack, code example, screenshot, or link to a repository:

It’s just the code created by init and didn’t change any code yet.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13

github_iconTop GitHub Comments

4reactions
okwastcommented, May 8, 2020

For people watching this thread, I found a solution for my problem here: https://github.com/facebook/react-native/issues/25923#issuecomment-594047945

1reaction
q-birdcommented, May 8, 2020

Following this guide @okwast

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android app crashes on release build but works in debug build
Currently react-native-gesture-handler has to be imported before everything for the release build to work without crashing.
Read more >
"react-native": "0.62.2" The production environment is not ...
When I package RN applications, I run the apk file and feedback to me ... "react-native": "0.62.2" The production environment is not working....
Read more >
How to fix Premiere Pro crash issues - Adobe Support
Learn how you can fix common Premiere Pro freezing or crashing issues using these six simple steps.
Read more >
Release Notes for PuTTY beta 0.62 UofR release 2012011000
PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator. It is written...
Read more >
react-native-video - npm
Version 4.0.0 now requires Android target SDK 26+ and Gradle 3 plugin in order to support ExoPlayer 2.9.0. Google is dropping support for...
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