Update android example
This commit is contained in:
parent
069b39e688
commit
00f5f785e6
7 changed files with 10 additions and 108 deletions
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue