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
This commit is contained in:
Sævar Berg 2016-11-02 12:09:00 -07:00 committed by Facebook Github Bot
parent dc0a5ec75d
commit 9bfd95c8aa

View File

@ -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.