Set up Android SDK prerequisites for APK builds
This commit is contained in:
@@ -8,13 +8,23 @@ make apk
|
||||
|
||||
Environment:
|
||||
|
||||
- `ANDROID_SDK_ROOT` or `ANDROID_HOME` must point at an Android SDK install.
|
||||
- `ANDROID_SDK_ROOT` defaults to `/opt/android-sdk`.
|
||||
- `ANDROID_NDK_ROOT` defaults to `/opt/android-ndk`.
|
||||
- `JAVA_HOME` defaults to `/usr/lib/jvm/java-25-openjdk`.
|
||||
- `APP_ID` overrides the Android application id.
|
||||
- `APK_OUT` overrides the output path.
|
||||
- `APK_VERSION` overrides the packaged app version.
|
||||
- `ANDROID_MIN_SDK` overrides the minimum supported Android SDK.
|
||||
- `ANDROID_TARGET_SDK` overrides the target Android SDK.
|
||||
|
||||
Installed machine prerequisites expected by this repo:
|
||||
|
||||
- `android-sdk-cmdline-tools-latest`
|
||||
- `android-sdk-build-tools`
|
||||
- `android-platform-35`
|
||||
- `android-sdk-platform-tools`
|
||||
- JDK 17 or newer
|
||||
|
||||
The repo tracks `gogio` as a Go tool, so the build runs through:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user