You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you downloaded Android Studio, extract it and then see [Setting up Android Studio](#setting-up-android-studio).
15
10
16
-
If you instead chose to download the commoand-line SDK tools, see [Setting up the SDK Tools](#setting-up-the-sdk-tools).
17
-
18
11
## Setting up Android Studio
19
12
20
13
1. Launch Android Studio, which will start a first-launch wizard.
@@ -26,12 +19,6 @@ If you instead chose to download the commoand-line SDK tools, see [Setting up th
26
19
7. Use the SDK Manager to get necessary dependencies, as described in [Getting Dependencies](#getting-dependencies).
27
20
8. When done, follow the steps in [Readme.md](Readme.md#installation-on-android) to compile and deploy the application.
28
21
29
-
## Setting up the SDK Tools
30
-
31
-
1. In `Source/Android`, create a file called `local.properties`.
32
-
2. Add a single line: `sdk.dir=<sdk-path>`, where `<sdk-path>` is the path where you extracted the SDK Tools package.
33
-
3. Follow the steps in [Readme.md](Readme.md#installation-on-android) to compile and deploy the application.
34
-
35
22
## Executing Gradle Tasks
36
23
37
24
In Android Studio, you can find a list of possible Gradle tasks in a tray at the top right of the screen:
@@ -50,19 +37,14 @@ For command-line users, any task may be executed with `Source/Android/gradlew <t
50
37
51
38
Most dependencies for the Android project are supplied by Gradle automatically. However, Android platform libraries (and a few Google-supplied supplementary libraries) must be downloaded through the Android package manager.
52
39
53
-
1. Launch the Android SDK Manager from the commandline by executing `<sdk-path>/tools/android`, or by clicking on its icon in Android Studio's main toolbar:
40
+
1. Launch the Android SDK Manager by clicking on its icon in Android Studio's main toolbar:
54
41
![Android Studio Package Icon][package-icon]
55
-
2. At the bottom of the window, click "Deselect All", and then "Updates".
56
-
3. Install or update the following packages:
57
-
58
-
* SDK Platform, under "Android 5.0.1 (API 21)". This will allow compiling apps that target Lollipop.
59
-
* Android Support Repository
60
-
* Android Support Library
61
-
* Google Repository
42
+
2. Install or update the SDK Platform. Choose the API level selected as [compileSdkVersion](Source/Android/app/build.gradle#L5).
43
+
3. Install or update the SDK Tools. CMake, LLDB and NDK. If you don't use android-studio, please check out https://github.com/Commit451/android-cmake-installer.
62
44
63
45
In the future, if the project targets a newer version of Android, or use newer versions of the tools/build-tools packages, it will be necessary to use this tool to download updates.
0 commit comments