-
Notifications
You must be signed in to change notification settings - Fork 586
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
Error: Google Play requires that apps target API level 31 or higher. #566
Comments
Please provide a repository that reproduces this issue. You may want to check that the defaultConfig is specifying the target sdk in your main app. |
I have this same issue and have confirmed the defaultConfig is specifying the target SDK version in the main app. I don't have a public repro of this at the moment but posting here in case other users run into this. |
I don't have repo I can share. But the ext in my It is something required for new android apps |
If you run that command yarn android From $ANDROID_HOME/build-tools/33.0.2/aapt dump badging android/app/build/outputs/apk/debug/app-debug.apk | grep targetSdkVersion It does contain
Coming from the example project
And not @sennedl You might have to update |
@DavidBertet I share the wrong screenshot. I have the The pipeline said it's the
Is there something to do about this? |
Could you share what is your Seems like you are linting While Google Play requires apps to target API level 31, and 33 at the end of the month, that's a Google Play limitation More details about your setup should help reproduce / find what the solution needs to be |
I pushed a potential fix after reproducing something similar on the example project ./example/android/gradlew lintDebug |
Should be fixed with @DavidBertet's PR. Thanks David! Closing. Please open a new issue if the issue persists. |
I patched the package by making |
When I
Build unsigned APK
of the azure pipeline. There is a problem with the targetSdkVersion.Does someone issues the same problem? Or does someone can help me?
The text was updated successfully, but these errors were encountered: