|
|
@@ -97,15 +97,14 @@ Then, the Android SDK and NDK need to be installed. SDK version 26 should be in
|
|
|
|
|
|
The Android command line tools can be found on the Android website or installed using a package
|
|
|
manager. The command line tools contain a tool named `sdkmanager` that can be used to install
|
|
|
-various versions of Android, the Android build tools, and the NDK.
|
|
|
+various versions of Android, the Android build tools, and the NDK:
|
|
|
|
|
|
-Installation via `sdkmanager` command line tool:
|
|
|
+ $ cmdline-tools/bin/sdkmanager --sdk_root=/path/to/android/sdk "build-tools;30.0.3" "cmake;3.22.1" "ndk;21.4.7075529" "platform-tools" "platforms;android-26"
|
|
|
|
|
|
- $ cmdline-tools/bin/sdkmanager --sdk_root=/path/to/Android/Sdk "build-tools;30.0.3" "cmake;3.22.1" "ndk;21.4.7075529" "platform-tools" "platforms;android-26
|
|
|
+The SDK will be installed to the chosen `sdk_root` path. To reduce the SDK size, the `emulator`
|
|
|
+package can be safely uninstalled:
|
|
|
|
|
|
-To reduce the SDK size, `emulator` package can be safely uninstalled:
|
|
|
-
|
|
|
- $ cmdline-tools/bin/sdkmanager --sdk_root=/path/to/Android/Sdk --uninstall emulator
|
|
|
+ $ cmdline-tools/bin/sdkmanager --sdk_root=/path/to/android/sdk --uninstall emulator
|
|
|
|
|
|
Android Studio isn't required, but can be used to install the SDK, NDK, and Java as well.
|
|
|
|