must target at least API level Android Origin: On your device Last updated 13 Oct 2026

Play Console: Your app currently targets API level 33 and must target at least API level 34

Google Play requires new apps and updates to target a recent Android API level (raised every year).

Exact message you may see must target at least API levelYour app currently targets API leveltarget API level requirement
Seen on: Android

Meaning

Updates are blocked until targetSdk meets the requirement. Raising targetSdk opts into new behaviours (permissions, foreground services, broadcast receivers), so test carefully.

Common causes

  • targetSdk below the current Play requirement
  • Flutter/RN template defaults not updated

⚡ Quick fix

  1. Raise targetSdk (and compileSdk) to the required level
  2. Review behaviour changes for each new API level
  3. Update libraries that crash on the new target

Detailed fix by platform

Gradle

  1. kotlin
    android {
      compileSdk = 35
      defaultConfig { targetSdk = 35 }
    }

How to diagnose

  1. Target — Current targetSdk
  2. Changes — Behaviour changes list for new API levels

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar no…Dependency requires compileSdk — Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs (Android)Dependency requires c…INSTALL_FAILED_OLDER_SDK — INSTALL_FAILED_OLDER_SDK / INSTALL_FAILED_DEPRECATED_SDK_VERSION (Android)INSTALL_FAILED_OLDER_…RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED — SecurityException: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts (Android)RECEIVER_EXPORTED or …signed in debug mode — Play Console: You uploaded an APK or Android App Bundle that was signed in debug mode. You need to sign your APK or Android App Bundle in release mode (Android)signed in debug modestartForeground not called — Context.startForegroundService() did not then call Service.startForeground() / ForegroundServiceStartNotAllowedException (Android)startForeground not c…Version code has already been used — Play Console: Version code 1 has already been used. Try another version code (Android)Version code has alre…must targ…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.