x/mobile: flag -androidapi is being ignored #71364
Labels
BugReport
Issues describing a possible bug in the Go implementation.
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
I'm implementing a simple project in Golang which compiles, but when i try to install the .apk on the smartphone simulator in android studio it return this error:
Error code: 'INSTALL_FAILED_DEPRECATED_SDK_VERSION', message='INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 24, but found 16'
The command i'm using:
gomobile build -target android -androidapi 24 -o myapp.apk
The text was updated successfully, but these errors were encountered: