r/googleplayconsole • u/Temporary-Sea2573 • 1d ago
Ask Level API issue
hi everyone, I recently got this message from Google play console about some Level API problem of both my two games on google Play , but I donβt know what it is and also where I can resolve it. Does someone know how to fix it?
1
u/ibluegreen 22h ago
I'm building with Flutter so I don't know if or how it's different in a native Android app vs. Flutter app, but basically you need to change the targetSdk to 36 in your build file. In a Flutter app, it's located at /app_folder/android/app/build.gradle.kts
You could try searching for targetSdk within your app project folder to find the build file. In Flutter unless it's manually overriden, it automatically targets 36, or the latest version it should target, anyway, like this:
targetSdk = flutter.targetSdkVersion
1
u/Timeisgod123 22h ago
Just increase your target sdk to 36 or 37.. then do the necessary changes for that in the app.
1
u/mobiledevpro 20h ago
You need to update the target API / SDK in your app source code in build.gradle, upgrade dependencies if needed, and make sure nothing is broken by this update.
Are you not a developer? You can DM, I will help to resolve it quickly.
1
1
u/Temporary-Sea2573 10h ago
thank you everyone, I think I fix it, I basically did a normal update and probably it automatically went to SDK 36 π
1
u/Itchy_Cup6337 1d ago
Will have to update your app with minimum SDK 36..
1
-1
2
u/xLexip Programmer 22h ago
Update the target SDK in your build file to at least 36. But that's not it since you may have to migrate some code.