Step 5: check the target API level

Google refuses a new app that targets too old an API: since 31 August 2026, API 36 for phone apps. Check targetSdk in build.gradle and enter it in Peerbeta.

J
Written By JordanLast updated 1 hour ago

What this step is for

Google Play refuses a new app that targets too old an Android API. Peerbeta checks it before the test starts, so a refused release doesn't cost you days. Since 31 August 2026:

  • phone or tablet apps: API 36;
  • Wear OS and Android Automotive apps: API 35;
  • Android TV and Android XR apps: API 34.

How to do it

  1. Open the build.gradle of your app module and find targetSdk in the defaultConfig block.
  2. In this Peerbeta step, choose what your app is built for, enter that number and click “Check”.
  3. If it's too low, raise targetSdk, test your app on that Android version, publish a new release with a higher version code, then come back.

Common mistakes

  • Mixing up targetSdk and minSdk. The first is the API your app targets; the second, the oldest Android version it accepts.
  • Checking only your source. If a framework generates your Android build, check the value in the built app.
  • Planning a test for Wear OS, Android TV, Android Automotive or Android XR. Peerbeta's testers use phones and tablets, so these tests can't start for now.

Was this helpful?

Your feedback shapes what we write next.