From ee7606698f008647b47ec1b9e3c0c20bbdf5798e Mon Sep 17 00:00:00 2001
From: Daniel Micay 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: Run an initial update, which will also install platform-tools Install platform-tools for tools like adb and fastboot: For running the Compatibility Test Suite you'll also need the build-tools for
+ aapt: Add the directories to your PATH in your shell profile configuration: You should update the sdk before use from this point onwards:
@@ -506,6 +507,46 @@ cd ../..
+ Standalone SDK
+
+
+ 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
+
+ tools/bin/sdkmanager --update
+
+ tools/bin/sdkmanager platform-tools
+
+ tools/bin/sdkmanager 'build-tools;29.0.2'
+
+ 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"
+
+ sdkmanager --update
+
Testing
@@ -706,7 +747,6 @@ export PATH="$PATH:$HOME/sdk/tools:$HOME/sdk/tools/bin:$HOME/sdk/platform-tools:
if it truly makes the correct approach simpler. Ignore fads and figure out if it
actually makes sense to use, otherwise just stick to the old fashioned way if the
fancy alternatives aren't genuinely better.