From fcb0367bf3f4b4df02f2c911d7a7107efb0b9eaa Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Tue, 3 Nov 2015 12:18:04 +0100 Subject: [PATCH] Update RunningOnDeviceAndroid.md --- docs/RunningOnDeviceAndroid.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/RunningOnDeviceAndroid.md b/docs/RunningOnDeviceAndroid.md index 52eb2e41f..f8bca5801 100644 --- a/docs/RunningOnDeviceAndroid.md +++ b/docs/RunningOnDeviceAndroid.md @@ -30,12 +30,11 @@ Have your device connected via USB with debugging enabled (see paragraph above o ### Configure your app to connect to the local dev server via Wi-Fi -Make sure your laptop and your phone are on the **same Wi-Fi network**. - -1. Open your React Native app on your device. -2. You'll see a red screen with an error. This is OK. The following steps will fix that. -3. Open the **Developer menu** by shaking the device or running `adb shell input keyevent 82` from the command line. -4. Go to `Dev Settings`. -5. Go to `Debug server host for device`. -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)). -7. Go back to the **Developer menu** and select `Reload JS`. +1. Make sure your laptop and your phone are on the **same Wi-Fi network**. +2. Open your React Native app on your device. You can do this the same way you'd open any other app. +3. You'll see a red screen with an error. This is OK. The following steps will fix that. +4. Open the **Developer menu** by shaking the device or running `adb shell input keyevent 82` from the command line. +5. Go to `Dev Settings`. +6. Go to `Debug server host for device`. +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)). +8. Go back to the **Developer menu** and select `Reload JS`.