From 3721154274c7b5108d75c63f2b5f4c9917bcd301 Mon Sep 17 00:00:00 2001 From: Justin Vieira Date: Thu, 11 Aug 2022 11:23:48 -0400 Subject: [PATCH] -androidapi 19 arg is now required for current ndk versions, see https://github.com/golang/go/issues/52470#issuecomment-1203874724 --- Mobile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mobile.md b/Mobile.md index 69a7aaa1..f5f74fec 100644 --- a/Mobile.md +++ b/Mobile.md @@ -69,7 +69,7 @@ $ go get -d golang.org/x/mobile/example/basic 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.