diff options
author | Huang, Zhaoquan <zhaoquan2008@hotmail.com> | 2020-05-10 17:09:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 17:09:21 +0800 |
commit | 658b1e3c1604a3a1bf060a68bc0bc9b724e887e1 (patch) | |
tree | c5035d03414ada2ef60073f554b0a20cf2f5f774 /docs | |
parent | a1f431262b7d7964cd500a2619938906c61643ec (diff) |
Update Android SDK Configuration Steps
The original steps may result in "Warning: Could not create settings" when using sdkmanager. Wrapping the extracted files in "cmdline-tools" directory can solve this problem.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/README.Android.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/README.Android.md b/docs/README.Android.md index 5d918d6887..a806549d46 100644 --- a/docs/README.Android.md +++ b/docs/README.Android.md @@ -73,12 +73,12 @@ Building Kodi for Android requires Android NDK revision 20. For the SDK just use ### 3.1. Extract Android SDK and NDK Create needed directories: ``` -mkdir -p $HOME/android-tools/android-sdk-linux +mkdir -p $HOME/android-tools/android-sdk-linux/cmdline-tools ``` Extract Android SDK: ``` -unzip $HOME/Downloads/sdk-tools-linux-4333796.zip -d $HOME/android-tools/android-sdk-linux +unzip $HOME/Downloads/commandlinetools-linux-6200805_latest.zip -d $HOME/android-tools/android-sdk-linux/cmdline-tools ``` **NOTE:** Since we're using the latest SDK available, filename can change over time. Adapt the `unzip` command accordingly. @@ -91,7 +91,7 @@ unzip $HOME/Downloads/android-ndk-r20-linux-x86_64.zip -d $HOME/android-tools ### 3.2. Configure Android SDK Before Android SDK can be used, you need to accept the licenses and configure it: ``` -cd $HOME/android-tools/android-sdk-linux/tools/bin +cd $HOME/android-tools/android-sdk-linux/cmdline-tools/tools/bin ./sdkmanager --licenses ./sdkmanager platform-tools ./sdkmanager "platforms;android-28" |