Skip to content

Commit ad46bd6

Browse files
committed
Add instructions for installing the Android SDK
1 parent 3fc7345 commit ad46bd6

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

getting-started.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,10 @@ To learn more about how to build apps with Flutter, please see the
6666
Currently Flutter requires an Android device running
6767
Jelly Bean, v16, 4.1.x or later.
6868

69-
- Install the `adb` tool from the [Android SDK](https://developer.android.com/sdk/installing/index.html?pkg=tools):
70-
- Mac: `brew install android-platform-tools`
71-
- Linux: `sudo apt-get install android-tools-adb`
72-
- If the version of `adb` provided by your Linux distribution is too old,
73-
you might need to [install the Android SDK manually](https://developer.android.com/sdk/installing/index.html?pkg=tools).
74-
Note that `adb` needs 32-bit libs (on Ubuntu 64-bit, make sure to install
75-
those libraries listed in _Troubleshooting Ubuntu_ section).
76-
- Launch `Android SDK Manager` with `tools/android sdk`.
77-
- Install `Android SDK Platform-tools` package that is the only required
78-
package to use `adb`.
79-
- Add `platform-tools/` to your `PATH`.
69+
- Install the [Android SDK](https://developer.android.com/sdk/) and set the
70+
`ANDROID_HOME` environment variable:
71+
- Mac OS: `export ANDROID_HOME=$HOME/Library/Android/sdk`
72+
- Linux: `export ANDROID_HOME=$HOME/Android/Sdk`
8073

8174
- Enable developer mode on your device by visiting `Settings > About phone` and
8275
tapping the `Build number` field seven times.

0 commit comments

Comments
 (0)