Reputation: 93
I am using react native
react-native-cli: 2.0.1
react-native: 0.55.3
I was running via
react-native run-android
The screen is always loading the app (Debugger Mode)
NOTE: It was sudden issue, it was working fine till yesterday.
*PC is Restarted several time and also JS server using kill -9 PID
Upvotes: 0
Views: 2206
Reputation: 703
Temporary fix:
REACT_TERMINAL=<your terminal> react-native run-android
in my case with manjaro + xfce4
:
REACT_TERMINAL=xfce4-terminal react-native run-android
or puts in your .bashrc
:
export REACT_TERMINAL=xfce4-terminal
Upvotes: 0
Reputation: 2478
I've met this error before when I started to programming React Native on Ubuntu.
The reason why you got this error because your Genymotion didn't have same port with local machine.
So here is the solution:
localhost:8081
Cheer!
Upvotes: 2
Reputation: 1687
Maybe it is a problem with the app already installed in your phone.
Try running :
adb uninstall com.yourproject
This will install all of your project packages for all users on your emulator/phone
Upvotes: 0