Mobile apps

What is the target API level?

The target API level, set as targetSdkVersion, tells Android which version of the platform your app has been tested against. Google Play requires new apps and updates to target a recent level, so it must be raised regularly.

Target versus minimum

The minimum SDK is the oldest Android release the app can run on. The target SDK is the newest behavior the developer has verified. Raising the target opts the app into newer rules, usually tighter ones around permissions, background work and storage.

The Play requirement

Google raises the required target level about once a year, with a deadline after which updates targeting older levels are refused, and existing apps may be hidden from newer devices. Check the Play Console help for the level and date currently in force before planning a release.

What breaks

  • Notifications may need a runtime permission on newer versions.
  • Background services, alarms and file access follow stricter rules.
  • Foreground services may need a declared type.

For owners

Treat the annual bump as a maintenance task: budget a few days to test and adjust. Apps ignored for two years can need real rework to catch up.

Questions, answered

You cannot publish updates, and the app may become unavailable to new users on recent Android versions.

No. The minimum SDK decides which devices can install.

By the Stegnor team · Updated