I'm building a Flutter app and recently updated my targetSdkVersion to API level 35 to comply with Google Play policies. Here's what I've done:
What I've Already Done:
- Updated
compileSdkandtargetSdkinandroid/app/build.gradle.kts:
- Tested the app thoroughly in release mode on a physical device and emulator
- Uploaded to Google Play Console
internal testing,close testing,open testingandproduction mode. - Still receiving the warning:
"Your app must target Android 15 (API level 35) or higher."
Issue:
Even after making the required changes and uploading the release build, Google Play Console still shows the target API warning. I also verified the manifest and APK using Android Studio's APK Analyzer, and it confirms the targetSdkVersion is 35.
Versions:
- Flutter version:
Flutter 3.32.5 - Dart version:
3.8.1
Question: Why am I still seeing the "target Android 15" warning even after updating everything? Is there a specific setting I might be missing in the Flutter or Gradle config?
Any help is appreciated.
-
1After you've done this, Google may take some time. For me after the updates were published and live, it took a couple of days for the policy violation resolved message arrival. I also had to update the AGP version, but you don't have to if it's not being warned.rusty– rusty2025年07月08日 18:58:16 +00:00Commented Jul 8, 2025 at 18:58
-
i got warning only for targetSdk @rustyNehal Babu– Nehal Babu2025年07月09日 06:59:24 +00:00Commented Jul 9, 2025 at 6:59