diff --git a/static/build.html b/static/build.html index 9a8a8936..e11153e0 100644 --- a/static/build.html +++ b/static/build.html @@ -73,6 +73,7 @@
The official releases of the Auditor and PdfViewer apps are bundled as an apk into external/ repositories. There are no modifications to these for GrapheneOS.
+It can be useful to set up a standalone installation of the SDK separate from + Android Studio. Android Studio can also be set up to use an existing SDK and will + recognize it and use it automatically if Android Studio is installed with an SDK + installation already available and set up in the environment. You'll also likely want + a working command-line SDK environment even if you do heavily use Android Studio.
+ +To set up a minimal SDK installation without Android Studio on Linux:
+ +mkdir ~/sdk +cd ~/sdk +wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip +unzip sdk-tools-linux-4333796.zip +rm sdk-tools-linux-4333796.zip+ +
Run an initial update, which will also install platform-tools
+ +tools/bin/sdkmanager --update+ +
Install platform-tools for tools like adb and fastboot:
+ +tools/bin/sdkmanager platform-tools+ +
For running the Compatibility Test Suite you'll also need the build-tools for + aapt:
+ +tools/bin/sdkmanager 'build-tools;29.0.2'+ +
Add the directories to your PATH in your shell profile configuration:
+ +export PATH="$HOME/sdk/tools:$HOME/sdk/tools/bin:$HOME/sdk/platform-tools:$HOME/sdk/build-tools/29.0.2:$PATH" +export ANDROID_HOME="$HOME/sdk"+ +
You should update the sdk before use from this point onwards:
+ +sdkmanager --update+