RN 0.50.4 Android crashes simply after reloading the app
See original GitHub issueHi! First of all want to say thank you for this good project, it makes react-native developer’s life much easier. If it will be necessary to provide more info, tell exactly what do you need, and I will try to provide it.
Current Behavior
- Starting emulator NEXUS_5X_API_26_x86
- Starting haul for android (haul-start --platform android)
- Starting react-native (react-native run-android)
Currently when I try to reload (cmd + m -> reload) the app is crashing every now and then. Then when I try to open my app from menu, it’s behavior is the same every now and then.
Expected Behavior
I expected my app not to crash after reloading.
Haul Configuration (webpack.haul.js)
const path = require('path')
module.exports = ({ platform }, defaults) => ({
entry: './index.js',
module: {
...defaults.module,
},
resolve: {
...defaults.resolve,
modules: [path.resolve(__dirname, 'src'), 'node_modules'],
},
})
Your Environment
| software - OSX | version - 10.13 High Sierra | Haul - ^1.0.0-beta.10 | react-native - 0.50.4 | node - 8.9.1 | npm - 5.5.1
P.S. I made a short video for you guys, hope someone can help me. Will appreciate much! http://www.giphy.com/gifs/3osBLzh4Yo4sNxVBWU
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Why do my apps keep crashing on Android, How to fix it
To do this, go to Settings -> Apps and select the app that keeps crashing. Tap on the app's name and then tap...
Read more >Fix an Android device that's restarting or crashing
Go to the next step. If the problem does not go away, skip to Advanced troubleshooting. Step 3: Restart your phone normally &...
Read more >React Native app crashes without any error log - Stack Overflow
In case react native app crashes without an error message checking the problem in Android Studio's Logcat works perfect.
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 >In iOS 15, when the app is restarted, it immediately crashes.
Sometimes the app appears in the list again after completely closing the app in the background state. —. Kim Ju Young. 9 months...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yes, new emulator solved my issue.
Unfortunately I can’t run it on a real device. But I will try on different emu.
On iOS all works perfectly. Thank you for your help. I will write something about running on different device soon.