1#enable debug mode on yur device
2
3$ adb devices
4List of devices attached
5emulator-5554 offline # Google emulator
614ed2fcc device # Physical device
7
8$ npx react-native run-android
9Try:
10$ react-native run-android --deviceId=14ed2fcc
11
12#use adb reverse
13$ adb -s <device name> reverse tcp:8081 tcp:8081
14
15NOTE:
16You can also use the React Native CLI to generate and run a Release build
17(e.g. npx react-native run-android --variant=release).
18
1npm install -g ios-deploy
2# Run on a connected device, e.g. Max's iPhone:
3react-native run-ios --device "Max's iPhone"