23 lines
522 B
Markdown
23 lines
522 B
Markdown
# Android Build
|
|
|
|
Build the APK with:
|
|
|
|
```sh
|
|
make apk
|
|
```
|
|
|
|
Environment:
|
|
|
|
- `ANDROID_SDK_ROOT` or `ANDROID_HOME` must point at an Android SDK install.
|
|
- `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.
|
|
|
|
The repo tracks `gogio` as a Go tool, so the build runs through:
|
|
|
|
```sh
|
|
go tool gogio -target android ...
|
|
```
|