aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2020-03-17 17:12:33 -0700
committerMarquise Stein <themagnificentmrb@gmail.com>2020-11-02 06:20:53 -0800
commitaa4a2acafb8fb2c90b11dc6b891e8cabaca4dde6 (patch)
tree9d3e62625494957b083cb4f26d67aca31175a5f5 /docs
parenta4041d5b4b37e392229a4121976728287bfcab1f (diff)
[Android] Update README to specify '--sdk_root'
Currently, if the sdk manager is called without this parameter, it fails with the following error message: | Warning: Could not create settings | java.lang.IllegalArgumentException Also included in the output is the option '--sdk_root'. A quick stack overflow search reveals that this parameter is necessary to call sdkmanager.
Diffstat (limited to 'docs')
-rw-r--r--docs/README.Android.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/README.Android.md b/docs/README.Android.md
index 4a77d7b9dd..0efbce3123 100644
--- a/docs/README.Android.md
+++ b/docs/README.Android.md
@@ -92,10 +92,10 @@ unzip $HOME/Downloads/android-ndk-r20-linux-x86_64.zip -d $HOME/android-tools
Before Android SDK can be used, you need to accept the licenses and configure it:
```
cd $HOME/android-tools/android-sdk-linux/cmdline-tools/tools/bin
-./sdkmanager --licenses
-./sdkmanager platform-tools
-./sdkmanager "platforms;android-28"
-./sdkmanager "build-tools;28.0.3"
+./sdkmanager --sdk_root=$(pwd)/../.. --licenses
+./sdkmanager --sdk_root=$(pwd)/../.. platform-tools
+./sdkmanager --sdk_root=$(pwd)/../.. "platforms;android-28"
+./sdkmanager --sdk_root=$(pwd)/../.. "build-tools;28.0.3"
```
### 3.3. Create a key to sign debug APKs