Google Play Target API Level Rules for Publishing Apps — Integrations & APIs article by Rui Codex

The Google Play target API level rule requires new apps and app updates to target a recent Android API level, and that minimum rises over time. To keep an app publishable, check the current requirement in Play Console, upgrade your build tooling and test on newer Android versions before the deadline, and ship updates regularly.

Key takeaways

  • The target API level tells Android which platform behaviour your app expects, and Google sets a minimum that new apps and updates must meet.
  • The deadline depends on your publishing date, so check Google's current requirement page before planning a release.
  • Raising the target level usually breaks things through behaviour changes and outdated libraries rather than through the version number itself.
  • Treat an upgrade as a dependency and testing project, and start with the third-party SDKs that are hardest to replace.

What does the target API level rule require?

Google Play requires each new app and each app update to declare a target API level at or above a minimum that Google sets and raises over time. You declare that level in your build configuration, and Play checks it when you upload a build.

The target level tells Android which platform behaviour your app expects. Android keeps older behaviour for apps that declare an older target, so a low target means your app runs under compatibility rules that the platform may later remove. Google documents the current minimum on its own requirements page, which is the source to check rather than any summary, including this one: Google Play target API level requirements.

The rule is about publishing, not about running. Devices with an installed app are not forced to remove it, but the app cannot receive an update that fails the current minimum. In practice, a stalled app becomes a stalled release pipeline.

How do you find the deadline for your app?

Check the current requirement on Google's policy page and compare it with the target level in your project. The deadline depends on the date you publish, so the answer changes over time and must be rechecked before each planning cycle.

  1. Open Google's target API requirements page and note the minimum that applies to new apps and to updates.
  2. Find the target level in your module configuration, usually the targetSdk value in build.gradle or build.gradle.kts.
  3. Check the Play Console dashboard and policy notices for messages about your app specifically.
  4. Work back from the deadline, leaving time for dependency upgrades, testing and a staged rollout.
Tip: Put the deadline in your release calendar as a dated task with an owner. Teams that discover the requirement during a hotfix usually lose more time than the upgrade itself would have taken.

Use the Google Play Console Help centre to confirm how Play reports the requirement for your account, since the console is where your submission is actually evaluated.

What breaks when the target level rises?

Raising the target level usually breaks things through platform behaviour changes, deprecated APIs and third-party libraries, not through the version number itself. The change list for each Android release is the place to see what your app will now experience, as described in the Android platform versions documentation.

The common failure areas are predictable. Permission prompts and their timing change, storage access rules tighten, background work is limited more strictly, and the way system bars and window insets behave can shift screen layouts. Each of these affects a different part of the app, so a single smoke test rarely covers them all.

The trade-off is timing. A large jump from an old target to a recent one puts many changes into one release, which makes regressions harder to trace. Staying close to the current target spreads the work out, but it requires regular maintenance. Waiting until the deadline is the option that fails most often, because it forces the largest change under the tightest schedule.

How should you plan a target level upgrade?

Plan the upgrade as a dependency and testing project with a clear test matrix, not as a one-line change to a version number. Start with the libraries that are hardest to replace, because they set the pace for everything else.

  • Inventory every third-party SDK and record the platform versions it supports.
  • Update the Android build tooling, including the Gradle plugin and Kotlin version, and fix the resulting build warnings.
  • Run the app on devices or emulators covering the newest platform version and at least one older version you still support.
  • Review permission flows, foreground services, background jobs and any custom navigation around system gestures.
  • Release to an internal testing track first, then use a staged rollout with a clear rollback plan.

If your team needs outside help with this kind of work, Rui Codex offers Flutter app development services and custom software development as technical implementation support. Published project examples are listed on the case studies page.

Tip: Keep the upgrade in its own branch with no unrelated feature work. When a crash appears, you can then tell whether the platform or your own change caused it.

When does a library block the upgrade?

A library blocks the upgrade when it depends on behaviour the new target removes and its maintainer no longer ships a fix. The decision is then between updating, replacing, maintaining a fork, or accepting the risk of an older target for a limited period.

OptionEffortMain riskBest when
Update the libraryLow to moderateBreaking API changes in the new versionThe vendor actively maintains a release that supports the target
Replace the libraryModerate to highRework of the code that calls itThe library is abandoned or only lightly used
Maintain a forkHigh and ongoingDrift from upstream and unpatched security issuesThe library is critical and no replacement fits
Keep the older targetLow now, higher laterA forced upgrade at a worse momentOnly as a short, recorded and reviewed exception

Isolating third-party code behind your own interface makes any of these options cheaper later. It also lets you test a replacement without rewriting the whole screen or service that depends on it.

Hypothetical examples of a target level upgrade

Here are two hypothetical scenarios:

In the first scenario, a team maintains an app that uses an analytics SDK which has not been updated for a long time. The SDK compiles, but it relies on a background behaviour the new target restricts. The team decides to replace the SDK behind a small wrapper, release the replacement on an internal track, and only then raise the target level.

In the second scenario, a team ships a cross-platform app whose plugin updates are straightforward. The upgrade breaks a custom permission flow that asks for a notification permission at the wrong moment. The team fixes the flow, adds a test case for it, and confirms the change on the newest platform version before the staged rollout begins.

Why does planning ahead matter more than the upgrade itself?

Planning ahead matters because the upgrade cost is mostly in dependencies, testing and scheduling, and those costs grow when work is postponed. A team that tracks the requirement and keeps its target close to current spends small, regular effort. A team that waits must absorb several years of changes at once while also meeting a publishing deadline.

Frequently Asked Questions

Does the target API level rule apply to apps already on Google Play?

The requirement applies when you publish a new app or upload an update, so an app you leave untouched keeps its listing but cannot receive a build that fails the current minimum. Once you need to ship any change, the build must meet the requirement, so keeping a maintenance release in reserve helps. Check Google's current policy page for the exact scope, because Google can adjust how the rule is applied.

Can I set a higher target API level than the minimum?

Yes, you can target a level above the minimum as long as your app works on it. Targeting higher opts you into newer behaviour changes, so test before you release. A higher target is a deliberate choice to review, not a shortcut around testing.

Does raising the target API level change which devices can install my app?

The target level controls platform behaviour your app opts into, not the oldest device version that can install it. Installation support is governed by a separate minimum setting in your project. Older devices still run the app under their own platform version, so you should test a range of versions.

What should I do if a third-party SDK does not support the new target level?

First check whether the vendor has a newer release that supports the level, because many fixes are a simple dependency update. If none exists, replace the SDK or isolate its code behind an interface so you can swap it. Keeping an unmaintained SDK in place is a risk you should record and review.

Conclusion

Keeping an Android app publishable under the Google Play target API level rule is mostly a matter of planning. Check the current requirement, find the libraries that will block you, test on the newest platform version and release in stages. Teams that treat the target level as an ongoing maintenance task avoid the forced, rushed upgrades that cause most publishing problems. If your team wants technical implementation support for an Android target level upgrade, request a project consultation.

Sources

Tags: Google Play Android development target API level app publishing Flutter dependency management mobile app maintenance release planning

Need Help Implementing This?

Our team can help you put these insights into practice. From AI automation to custom software development, we build solutions that deliver real results.

Send a project request