'React native app build success, but nothing displayed
I successfully run the react-native app and emulator also opended.
I'm also getting emulator loading message too
However After that it crashes and nothing display
And I'm getting an error when reload the bundle as below
I'm unable to figure out the issue since I'm a react-native beginner.
Appreciate your suggestions
Solution 1:[1]
It seems your emulator not connected to your react-native development server. Sometimes it happen, devices connected and somehow it lost connection with the development server. Try running adb devices
command on your terminal to check is your emulator available and detected.
Solution 2:[2]
I know this is old but maybe this will help someone else.
This could be happening due to several reasons.
- Check emulator is working or if its storage is full? wipe the data.
- Syntax error could be because of this. please recheck latest changes files.
Personally, I was stuck due to a small comma error in my code.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | kafinsalim |
Solution 2 | DevinRa |