Skip to content

Commit 0d7f46c

Browse files
committed
Update Android SDK instructions
1 parent 8f945de commit 0d7f46c

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

setup/android_sdk.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
# Android SDK setup instructions
22
## Android SDK
33
If you already have Android Studio installed, most likely you also have Android SDK. If you don't have a local Android SDK installation, you can download it from [here](https://developer.android.com/studio/index.html#downloads).
4-
You don't need the whole bundle, so look for files whose names start with `android-sdk_` and choose the one appropriate for your system. Extract the archive to a suitable location after the download is complete.
4+
You don't need the whole bundle, so look for files whose names start with `sdk-tools-` and choose the one appropriate for your system. Extract the archive to a suitable location after the download is complete. For example, `%userprofile%\android-sdk\` (for Windows) or `~/android-sdk/` (for Linux/macOS).
55

6-
Start the SDK Manager.
6+
You will need the following packages:
77

8-
* **Windows** Run `SDK Manager.exe` in the main SDK directory.
9-
* **Linux/macOS** Run `android` in `[android-sdk]/tools`
8+
* **Android SDK Tools**
9+
* **Android SDK Platform-tools**
10+
* **Android SDK Build-tools** - `v25`
11+
* **Android 7.1.1 (API 25)**:
12+
* **SDK Platform**
1013

11-
After the SDK Manager finishes loading install the following components:
14+
If you are using Android Studio, you can use the integrated SDK Manager to download and install them. You can then skip to the [Set ANDROID_HOME](#set-android_home) section below. If not, you can use the command line tools you downloaded earlier. The following steps are for the command line tools only.
1215

13-
* **Android SDK Tools**
14-
* **Android SDK Platform-tools**
15-
* **Android SDK Build-tools** - `v25`
16-
* **Android 7.1.1 (API 25)**:
17-
* **SDK Platform**
16+
Go to `tools/bin/` and install the required packages:
17+
18+
* **Windows** Run `sdkmanager.bat "tools" "platform-tools" "build-tools;25.0.0" "platforms;android-25"`
19+
* **Linux/macOS** Run `./sdkmanager "tools" "platform-tools" "build-tools;25.0.0" "platforms;android-25"`
1820

1921
## Set ANDROID_HOME
2022
After the Android SDK is ready to use, you need to set a system path variable pointing to the Android SDK directory.

0 commit comments

Comments
 (0)