11 lines
737 B
Markdown
11 lines
737 B
Markdown
|
|
# Android 16 target (compileSdk / targetSdk 36)
|
||
|
|
|
||
|
|
- **Android 16** uses **API level 36**. The app currently uses **compileSdk 34** and **targetSdk 34** and runs on Android 16 via compatibility behavior.
|
||
|
|
- **To fully target Android 16** (opt into new behavior and APIs):
|
||
|
|
1. Upgrade **Android Gradle Plugin** to **8.5 or 8.6+** (supports compileSdk 35/36). Update root `build.gradle.kts`: e.g. `id("com.android.application") version "8.6.0"`.
|
||
|
|
2. In **buildSrc/.../AppConfig.kt**, set `compileSdk = 36` and `targetSdk = 36`.
|
||
|
|
3. Sync and fix any deprecations or API changes.
|
||
|
|
4. Test on a device or emulator with Android 16 (API 36).
|
||
|
|
|
||
|
|
Until then, **minSdk 24** and **targetSdk 34** remain; the app is forward compatible on Android 16.
|