Update android example

This commit is contained in:
Milan Nikolic 2024-02-27 07:54:10 +01:00
parent 069b39e688
commit 00f5f785e6
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
7 changed files with 10 additions and 108 deletions

View file

@ -33,16 +33,11 @@ To build apk export path to Android SDK, point to location where you unpacked ar
export ANDROID_HOME=/opt/android-sdk
And build apk with ant:
cd android
ant clean debug
Or with gradle:
And build apk:
./gradlew assembleDebug
If everything is successfully built apk can be found in bin/ directory or in the android/build/outputs in case `gradle` is used.
If everything is successfully built apk can be found in the android/build/outputs.
For aarch64/arm64 replace `arm-linux-androideabi` with `aarch64-linux-android`, set GOARCH to arm64 and use minimum `ANDROID_API=21`.