Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile: manual declaration of uses-sdk in AndroidManifest.xml not supported #27023

ntop001 opened this issue Aug 16, 2018 · 2 comments


Copy link

@ntop001 ntop001 commented Aug 16, 2018

We need to set the minSdkVersion and targetSdkVersion in the AndroidManifest.xml file. But it won't build, gomobile will exit with err:

manual declaration of uses-sdk in AndroidManifest.xml not supported

minSdkVersion and targetSdkVersion is a commonly used in Android. If not set, app market like Google Play will refused to accept the app.

@gopherbot gopherbot added this to the Unreleased milestone Aug 16, 2018
@gopherbot gopherbot added the mobile label Aug 16, 2018
Copy link

@xape4ka xape4ka commented Feb 17, 2022

UP. Any ideas, how target to custom SdkVersion?

Copy link

@ntop001 ntop001 commented Jun 16, 2022

@xape4ka Don't use go/mobile to build apk, but use go/mobile to build a shared .so file, and then call it in your Android projects, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

3 participants