x/mobile: androidapi parameter not working when using gomobile build command #66011
Labels
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go1.22
Output of
go env
in your module/workspace:What did you do?
I am trying to build a go mobile example app and deploy it to android device with command
gomobile build -target=android -androidapi 23 golang.org/x/mobile/example/basic
What did you see happen?
I see an error about minimal sdk version too low. Android device report that I am using sdk 16 not sdk I mentioned in build parameters
The issue is discussed here in great detail #52470
What did you expect to see?
I expect apk to install flawlesly.
The text was updated successfully, but these errors were encountered: