What Google Play requires right now
- New apps and updates must target API 36 (Android 16) or higher since 31 August 2026. The extension window ended on 1 November 2026.
- Existing apps must target at least API 35 (Android 15) to stay visible to new users on newer Android versions.
- Wear OS and Android Automotive apps need API 35, and Android TV and XR apps need API 34.
If your target is too low, the Play Console blocks the upload, even for an urgent bug fix. Users who already installed the app keep it, but you can’t ship them anything new. The full background is in my guide to the Google Play target API level for Flutter apps.
Why raising targetSdk alone often fails
Changing targetSdk to 36 is one line, but the build also needs tools that know about API 36. Each Android API level needs a minimum Android Gradle Plugin (AGP), and each AGP needs a minimum Gradle version:
| compileSdk | Minimum AGP | Minimum Gradle for that AGP |
|---|---|---|
| 37 | 9.1.1 | 9.3.1 |
| 36 | 8.9.1 | 8.11.1 |
| 35 | 8.6.0 | 8.7 |
| 34 | 8.1.1 | 8.0 |
| 33 | 7.2 | 7.3.3 |
Source: Android Developers’ AGP release notes, checked November 2026. If AGP is too old you get warnings like “We recommend using a newer Android Gradle plugin to use compileSdk = 36”, and if Gradle is too old the build stops with “Minimum supported Gradle version is …”.
Three other errors often show up during this upgrade: “Unsupported class file major version 65” (Gradle older than your Java), “requires a newer version of the Kotlin Gradle plugin” and “Namespace not specified” (an old plugin after the AGP 8 upgrade). Each has its own fix.
Where these values live in a Flutter project
- targetSdk, compileSdk, minSdk:
android/app/build.gradleorbuild.gradle.kts, in theandroidblock. New projects useflutter.targetSdkVersion, which comes from your Flutter version. - Android Gradle Plugin: the
com.android.applicationline inandroid/settings.gradle(.kts). Older projects set it in the rootandroid/build.gradleasclasspath 'com.android.tools.build:gradle:…'. - Gradle: the
distributionUrlline inandroid/gradle/wrapper/gradle-wrapper.properties.
If your app uses flutter.targetSdkVersion
Then the target follows your Flutter SDK. Flutter 3.35 sets compileSdk 36, targetSdk 36 and minSdk 24, so upgrading Flutter with flutter upgrade is often the whole fix. Run flutter --version to check. If you’re on an older version and can’t upgrade yet, set targetSdk = 36 and compileSdk = 36 directly instead.
Questions
What target API level does Google Play require for Flutter apps?
Since 31 August 2026, new apps and updates must target API 36 (Android 16). Existing apps that target below API 35 stop showing to new users on newer Android versions.
Where do I change targetSdk in Flutter?
In android/app/build.gradle (or build.gradle.kts), inside the defaultConfig block of the android section. If it says flutter.targetSdkVersion, the value comes from your Flutter version.
Which Android Gradle Plugin version do I need for API 36?
AGP 8.9.1 or newer, which needs Gradle 8.11.1 or newer. For API 37 you need AGP 9.1.1 or newer.
Does this tool upload my files?
No. Everything runs in your browser. The Gradle files you paste never leave your computer.
What should I test after raising the target to API 36?
Edge-to-edge layouts, because Android 16 no longer lets apps opt out, predictive back navigation, and large-screen behaviour, since orientation and resize limits are ignored on tablets. Then upload an app bundle to an internal testing track first.
Related: the Flutter app maintenance checklist covers the yearly target API update along with the rest of app upkeep, and the Flutter package checker finds outdated packages that can block the upgrade.
Stuck on a Gradle error or a blocked Play release? I’m Muhammad Naeem, a Flutter developer who maintains apps live on Google Play. Send me the error and I’ll take a look.