React Native & Expo errors · Error 10 of 12

Google Play: “must target at least API level …”

By Muhammad Abdullah, full-stack, mobile and ai automation developer · Last reviewed

Your app currently targets API level X and must target at least API level Y

Short answer

Google Play requires new apps and updates to target a recent Android API level. Upgrade to an Expo SDK that targets it, or set targetSdkVersion with expo-build-properties, then build and upload a new version.

Common causes

  • The app was built with an older Expo / React Native version.
  • Google Play raised its yearly target API level requirement.

How to fix it

  1. Preferably upgrade the Expo SDK (each SDK sets a current target):

                          npx expo install expo@latest
    npx expo install --fix
                        
  2. Or set it explicitly with the build properties plugin (example values — use the level Google Play currently requires):

                          "plugins": [
      ["expo-build-properties", {
        "android": { "compileSdkVersion": 35, "targetSdkVersion": 35 }
      }]
    ]
                        
  3. Build a new production version and upload it:

                          eas build --platform android --profile production
                        

Use the API level Google Play currently requires for your app; test permission and behaviour changes for that Android version before releasing.

Let’s talk about the next step

Have an idea, a stuck app, or a workflow toimprove?

Tell me what you are building, what is blocking you, and what a successful outcome looks like.