-androidapi 19 arg is now required for current ndk versions, see https://github.com/golang/go/issues/52470#issuecomment-1203874724

Justin Vieira 2022-08-11 11:23:48 -04:00
parent 584c8eb9f1
commit 3721154274

@ -69,7 +69,7 @@ $ go get -d golang.org/x/mobile/example/basic
Run `gomobile build` to build an Android APK. Run `gomobile build` to build an Android APK.
``` ```
$ gomobile build -target=android golang.org/x/mobile/example/basic $ gomobile build -target=android -androidapi 19 golang.org/x/mobile/example/basic
``` ```
Build command will build an APK named basic.apk. Build command will build an APK named basic.apk.