Skip to content

Commit 7ae39f8

Browse files
committed
Update RunningOnDeviceAndroid.md
1 parent d98d4e6 commit 7ae39f8

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

docs/RunningOnDeviceAndroid.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ Have your device connected via USB with debugging enabled (see paragraph above o
3030

3131
### Configure your app to connect to the local dev server via Wi-Fi
3232

33-
1. Make sure your laptop and your phone are on the same Wi-Fi network.
34-
2. Open your React Native app on your device.
35-
3. You'll see a red screen with an error. This is OK. The following steps will fix that.
36-
4. Open the **Developer menu** by shaking the device or running `adb shell input keyevent 82` from the command line.
37-
5. Go to `Dev Settings`.
38-
6. Go to `Debug server host for device`.
39-
7. Type in your machine's IP address and the port of the local dev server (e.g. 10.0.1.1:8081). **On Mac**, you can find the IP address in System Preferences / Network. **On Windows**, open the command prompt and type `ipconfig` to find your machine's IP address ([more info](http://windows.microsoft.com/en-us/windows/using-command-line-tools-networking-information)).
40-
8. Go back to the **Developer menu** and select `Reload JS`.
33+
Make sure your laptop and your phone are on the **same Wi-Fi network**.
34+
35+
1. Open your React Native app on your device.
36+
2. You'll see a red screen with an error. This is OK. The following steps will fix that.
37+
3. Open the **Developer menu** by shaking the device or running `adb shell input keyevent 82` from the command line.
38+
4. Go to `Dev Settings`.
39+
5. Go to `Debug server host for device`.
40+
6. Type in your machine's IP address and the port of the local dev server (e.g. 10.0.1.1:8081). **On Mac**, you can find the IP address in System Preferences / Network. **On Windows**, open the command prompt and type `ipconfig` to find your machine's IP address ([more info](http://windows.microsoft.com/en-us/windows/using-command-line-tools-networking-information)).
41+
7. Go back to the **Developer menu** and select `Reload JS`.

0 commit comments

Comments
 (0)