Running an app on an Android device
suggest change-
adb devicesIs the phone listed? If not, enable developer mode and connect it with a USB cable.
-
adb reverse tcp:8081 tcp:8081Forwards the packager port so the phone can reach the development server. This requires Android 5.0 or above.
-
react-native run-androidBuilds and installs the app on the phone.
-
react-native startStarts the local development server. A recent React Native CLI starts this server for you.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents