Why target newer SDKs?
In plain words
Explains why to target a recent API level: new Android changes bring security, performance and UX gains, some only for apps declaring support via targetSdkVersion, while the app still runs on older versions.
- Some Android changes apply only to apps that explicitly declare support through the targetSdkVersion manifest attribute (target API level).
- Targeting a recent API level lets users benefit from improvements and lets your app use the latest platform features, while still running on older Android versions.
- From Android 10 (API level 29), users see a warning on first launch if the app targets Android 5.1 (API level 22) or lower.
- You can confirm or change targetSdkVersion in the app's Gradle file, or via the android:targetSdkVersion attribute in the manifest (<uses-sdk>).
From the official text
Every new Android version introduces changes that bring security and performance improvements and enhance the Android user experience. Some of these changes only apply to apps that explicitly declare support through their targetSdkVersion manifest attribute (also known as the target API level). Configuring your app to …
Read the full official text ↗ Open in the StoreRules library Ask whether your app complies
Developers' cases about this clause
No cases yet.