From 9bfd95c8aa130815a1896122db0b6ec97bcf98c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A6var=20Berg?= Date: Wed, 2 Nov 2016 12:09:00 -0700 Subject: [PATCH] Fixed $PATH guide for Linux users Summary: `react-native run-android` will need `adb` in `$PATH` as I explained in issue #10702. Closes https://github.com/facebook/react-native/pull/10703 Differential Revision: D4118918 fbshipit-source-id: 873e46d044b8cc7acf026aba330ad1dc4ff6f2d3 --- docs/GettingStarted.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index e10bd410f..a94168d95 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -235,9 +235,10 @@ Create or edit your `~/.bashrc` file and add the following lines: ``` export ANDROID_HOME=~/Android/Sdk export PATH=${PATH}:${ANDROID_HOME}/tools +export PATH=${PATH}:${ANDROID_HOME}/platform_tools ``` -The second line will add the `android` tool to your path, which will come in handy in the next step. +The second line will add the `android` tool to your path, which will come in handy in the next step. The third line will add the `adb` tool to your path, which is used to communicate with your Android device / emulator. > Please make sure you export the correct path for `ANDROID_HOME` if you did not install the Android SDK using Android Studio.