From fb3cae6cfd52651cae3276e4a30d733a80eb04dc Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Thu, 6 Oct 2016 19:59:57 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/running-on-device-android.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/next/docs/running-on-device-android.html b/releases/next/docs/running-on-device-android.html index 4161161ac6b..90fe96010b4 100644 --- a/releases/next/docs/running-on-device-android.html +++ b/releases/next/docs/running-on-device-android.html @@ -1,7 +1,7 @@ Running On Device

Running On Device #

Prerequisite: USB Debugging #

You'll need this in order to install your app on your device. First, make sure you have USB debugging enabled on your device.

Check that your device has been successfully connected by running adb devices:

$ adb devices List of devices attached emulator-5554 offline # Google emulator -14ed2fcc device # Physical device

Seeing device in the right column means the device is connected. Android - go figure :) You must have only one device connected.

Now you can use react-native run-android to install and launch your app on the device. If you get a "bridge configuration isn't available" error, see the Using adb reverse section below.

Setting up an Android Device #

Let's now set up an Android device to run our React Native projects.

First thing is to plug in your device and check the manufacturer code by using lsusb, which should output something like this:

$ lsusb +14ed2fcc device # Physical device

Seeing device in the right column means the device is connected. Android - go figure :) You must have only one device connected.

Now you can use react-native run-android to install and launch your app on the device. If you get a "bridge configuration isn't available" error, see the Using adb reverse section below.

Setting up an Android Device #

Let's now set up an Android device to run our React Native projects.

First thing is to plug in your device and check the manufacturer code by using lsusb (on mac, you must first install lsusb). lsusb should output something like this:

$ lsusb Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 22b8:2e76 Motorola PCS