“Your app currently targets API level X”: how to fix it
Google Play now requires new apps and updates to target Android 16 (API level 36). Where to change targetSdk in Android Studio, Flutter, React Native, Expo and Unity.
You upload a build and the Play Console says: “Your app currently targets API level <X> and must target at least API level <Y> to ensure it is built on the latest APIs optimized for security and performance.” It means your build’s targetSdk is below the minimum Google Play accepts this year. Google raises that minimum every August.
Why it happens
- The yearly deadline passed. A build that was fine in July can be rejected in September with no code change.
- Your framework pins an old default. Flutter, React Native, Expo and Unity each set targetSdk for you. An older version sets an older value.
- A hard-coded value overrides the default. A targetSdk written into build.gradle, a Gradle ext block or a config plugin wins over the framework’s newer default.
- You uploaded an old build. Re-uploading a bundle built months ago carries its old targetSdk.
How to fix it
- Check which level the error asks for. For most phone apps today it’s 36. Wear OS and Android Automotive OS apps need 35. Android TV and Android XR apps need 34.
- Set targetSdk to that level, and compileSdk to at least the same level (see the table).
- Go through the Android 16 behavior changes for apps that target it. The big ones: you can no longer opt out of edge-to-edge, predictive back animations are on by default, and on large screens orientation and resizability limits are ignored.
- Update SDKs and plugins so they build against the new level.
- Raise the versionCode, rebuild the release bundle, test it on an Android 16 device or emulator, then upload.
| Project type | Where targetSdk is set |
|---|---|
| Android Studio (Kotlin/Java) | targetSdk and compileSdk in app/build.gradle or build.gradle.kts, inside defaultConfig |
| Flutter | targetSdk = flutter.targetSdkVersion in android/app/build.gradle(.kts). Upgrade Flutter to raise the default, or replace it with 36 |
| React Native (bare) | targetSdkVersion and compileSdkVersion in the ext block of android/build.gradle |
| Expo | Upgrade the Expo SDK, or set android.targetSdkVersion and compileSdkVersion with the expo-build-properties plugin, then rebuild |
| Unity | Player Settings → Other Settings → Identification → Target API Level |
What happens to your existing listing
The upload error only blocks new releases. Your live app stays up, but its reach shrinks. Existing apps must target at least Android 15 (API level 35) to stay available to new users on newer Android versions. Below that, new users only see the app on devices running an Android version no newer than its target. People who already installed it keep it.
Questions people ask
What API level does Google Play require right now?
Since August 31, 2026, new apps and updates must target Android 16 (API level 36). Wear OS and Android Automotive OS apps need API 35, and Android TV and Android XR apps need API 34.
Can I still get an extension?
Google offered extensions up to November 1, 2026, requested from the policy warning on the Policy status page in the Play Console. That date has passed, so plan to update targetSdk now.
Do I have to raise minSdk too?
No. minSdk only sets the oldest Android version your app installs on. The rule is about targetSdk.
Will my live app be removed?
No. It stays on Google Play for people who have it. But if it targets below API 35, new users on newer Android versions can’t find or install it.
Sources
Check your own name
Domains, both app stores, bundle IDs and every live site using the name, in under a minute.
Check a name