October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Mountain View desk3 min

Android target SDK vs. compile SDK: What to update for Google Play

For Google Play target API compliance, developers need to raise targetSdk. compileSdk controls which APIs are available to the compiler, and the two values can differ.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For Google Play target API compliance, update targetSdk—not just compileSdk. The target SDK declares the Android behavior level your app is intended to support and is the value Google Play checks for its target API requirement. The compile SDK makes Android APIs available to your code at build time. They can differ, and raising only the compile SDK does not meet a target SDK requirement.

What compileSdk and targetSdk control

Setting What it controls Does it satisfy Google Play’s target API requirement?
compileSdk The Android API level whose APIs are available while compiling the app. No. Increasing it alone does not change the app’s declared target API.
targetSdk The Android API level whose behavior the app opts into and is intended to support. A higher value can activate behavior changes introduced in that Android release. Yes. This is the setting relevant to Google Play’s target API requirement.
minSdk The lowest Android API level on which the app can run. No. It is a separate compatibility decision; do not raise it merely to meet a target API requirement.

Android’s build configuration guide says that “the value of targetSdk is not connected to the value of compileSdk.” In practical terms, compileSdk gives access to APIs during development; targetSdk affects runtime behavior and is the value that matters for Play’s target API check.

As an Amazon Associate I earn from qualifying purchases.

Google Play target API requirements as of October 4, 2026

Google Play’s target API requirement page sets different thresholds according to the release type and app form factor. For the general Android app category, the thresholds effective August 31, 2026 are:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Release or listing situation General Android threshold What the threshold applies to
New app or app update Android 16, API level 36 or higher Submission to Google Play.
Existing app Android 15, API level 35 or higher Remaining available to new users on devices running an Android version above the app’s target API.

Those are not interchangeable rules: the API 36 threshold is for new apps and updates, while API 35 is the general existing-app availability threshold. The page lists separate thresholds for Wear OS, Android Automotive OS, Android TV, and Android XR: new apps and updates generally require API 35 for Wear OS and Automotive OS, and API 34 for TV and XR. Existing-app availability cutoffs also differ by form factor, so check the current policy page for the relevant category rather than applying the general Android threshold to every app.

The policy page also says developers who need more time can request an extension to November 1, 2026. Check the current Play Console and policy page for the request process and availability.

How to update the app correctly

  1. Find the target setting in the app module. Check the module’s Gradle configuration for targetSdk and verify the target API level in the built artifact. Google Play notes that the target can be configured in Gradle or through the android:targetSdkVersion manifest attribute.
  2. Choose the applicable Play threshold. Confirm whether this release is a new app, an update, or an existing listing, and identify the app’s form factor. Set targetSdk to the applicable threshold.
  3. Update compileSdk when the code needs newer APIs. Set it to a level that supports the APIs the app uses, and check compatibility with the Android Gradle Plugin, Android Studio, and libraries. It may be higher than, equal to, or lower than targetSdk; changing it does not substitute for changing targetSdk.
  4. Review target-version behavior changes. Read the Android platform behavior changes relevant to the target release, including permission and privacy changes. A successful build alone does not show that the app works correctly under the new target behavior.
  5. Test real user flows and dependencies. Exercise the app on current Android devices or emulators, including flows that depend on permissions and third-party SDKs. Apps targeting older API levels can receive backward-compatibility behavior on newer Android versions, so validate the behavior after raising the target.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Why a target SDK update needs testing

Changing targetSdk is not just a declaration for Play. Android can apply behavior changes associated with the newly targeted platform level, which may affect the app even when compileSdk has not changed. Review the applicable changes in the Android device compatibility overview and test the affected app paths before release. Raising minSdk is not the remedy for target API compliance; it changes which older devices can run the app.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.