summaryrefslogtreecommitdiff
path: root/static/build.html
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-08-14 09:30:22 -0400
committerDaniel Micay <danielmicay@gmail.com>2021-08-14 09:31:36 -0400
commit831ca0bca335460a4677b6d9e9cc0d88d26ad577 (patch)
treef0af5aa2b71e3b462037735e02c6641f0d273634 /static/build.html
parent453c0b0bbc72879fd345f8af4d23196d0e2db6e5 (diff)
update standalone SDK installation instructions
Diffstat (limited to 'static/build.html')
-rw-r--r--static/build.html19
1 files changed, 8 insertions, 11 deletions
diff --git a/static/build.html b/static/build.html
index ce52249a..407406ec 100644
--- a/static/build.html
+++ b/static/build.html
@@ -900,13 +900,14 @@ $DEVICE-stable</pre>
quite out-of-date and should be avoided. To set up a minimal SDK installation at
<code>~/android/sdk</code> without Android Studio:</p>
- <pre>mkdir -p ~/android/sdk/cmdline-tools
-cd ~/android/sdk/cmdline-tools
-curl -O https://dl.google.com/android/repository/commandlinetools-linux-6514223_latest.zip
-echo 'ef319a5afdb41822cb1c88d93bc7c23b0af4fc670abca89ff0346ee6688da797 commandlinetools-linux-6514223_latest.zip' | sha256sum -c
-unzip commandlinetools-linux-6514223_latest.zip
-rm commandlinetools-linux-6514223_latest.zip
-mv tools latest</pre>
+ <pre>mkdir -p ~/android/sdk/bootstrap
+cd ~/android/sdk/bootstrap
+curl -O https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip
+echo '124f2d5115eee365df6cf3228ffbca6fc3911d16f8025bebd5b1c6e2fcfa7faf commandlinetools-linux-7583922_latest.zip' | sha256sum -c
+unzip commandlinetools-linux-7583922_latest.zip
+cmdline-tools/bin/sdkmanager 'cmdline-tools;latest' --sdk_root=$HOME/android/sdk
+cd ..
+rm -r bootstrap</pre>
<p>Set <code>ANDROID_HOME</code> to point at the SDK installation in your current
shell and shell profile configuration. You also need to add the
@@ -915,10 +916,6 @@ mv tools latest</pre>
<pre>export ANDROID_HOME="$HOME/android/sdk"
export PATH="$HOME/android/sdk/cmdline-tools/latest/bin:$PATH"</pre>
- <p>Make <code>cmdline-tools</code> responsible for updating itself:</p>
-
- <pre>sdkmanager 'cmdline-tools;latest'</pre>
-
<p>Install platform-tools for tools like adb and fastboot:</p>
<pre>sdkmanager platform-tools</pre>