I recommand openning it in VS Code.
npm install
Connecting an emulator or device in advance of this step.
-
Open a couple of terminals.
-
one of them run:
npm run start
- another of them run:
npm run android
If you run it on emulator, you may got white screen. To solve it, run:
adb reverse tcp:8081 tcp:8081
adb shell input keyevent 82
And then click "setting" in emulator, to set debug server host and port to 127.0.0.1:8081
.