Release build using 0.62, application keeps stopping
See original GitHub issueI 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
- 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:
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:
- Created 3 years ago
- Reactions:1
- Comments:13
Top GitHub Comments
For people watching this thread, I found a solution for my problem here: https://github.com/facebook/react-native/issues/25923#issuecomment-594047945
Following this guide @okwast