mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
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:
parent
dc0a5ec75d
commit
9bfd95c8aa
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user