Android Gradle Plugin 8.12.0 (July 2025)

Android Gradle Plugin 8.12.0 is a major release that includes a variety of new features and improvements.

Compatibility

The maximum API level that Android Gradle Plugin 8.12 supports is API level 36. Here is other compatibility info:

Minimum version Default version Notes
Gradle 8.13 8.13 To learn more, see updating Gradle.
SDK Build Tools 35.0.0 35.0.0 Install or configure SDK Build Tools.
NDK N/A 27.0.12077973 Install or configure a different version of the NDK.
JDK 17 17 To learn more, see setting the JDK version.

Fixed issues

Android Gradle plugin 8.12.0

Fixed Issues
Android Gradle Plugin
How to specify a boolean value for experimentalProperties
Explicitly enabling device tests in a non-default build type using AGP does not work
Move AGP to configurations.register to avoid eager realization of configurations
Include nested MANIFEST.MF files in defaultExcludes
Gradle plugin should merge test manifest when includeAndroidResources == true
Source files from src/extraMain/java aren’t added to the compiler using "built-in-kotlin"
SourceDirectories.addGeneratedSourceDirectory is not friendly to multiple variants
AGP 8.8.0-alpha09 causes some JaCoCo reporting issues
[fused lib - public] adding kmp lib like coil does not work
Cannot build tests with AGP 8.12.0-alpha05 due to package declaration in merged manifest
AGP 8.12.0-alpha07 fails release builds with the Firebase Performance gradle plugin applied
Add ExtractAnnotations to AGP KMP
BuiltInKotlinJvmAndroidCompilation doesn't work with Kotlin compiler plugins such as Anvil and KSP
Fused library plugin fails during `:mergingArtifactAAR_METADATA` task
Lint
AbstractAnnotationDetector checks wrong overloaded functions/constructors
Lint gives warning when using Config.OLDEST_SDK in test
TypoDetector regularly crashes with IllegalArgumentException during quickfix
Bug: Possible false positive of Android Studio about "die die" in German
SupportAnnotationUsage rule should support KT-73255
[Lint] Excessive false positives of `MemberExtensionConflict` - issue description is incorrect
[lint] MemberExtensionConflict false positive on parameter name conflict
[lint] PropertyEscape false positive on valid properties file

Android Gradle plugin 8.12.1

Fixed Issues
Android Gradle Plugin
`com.android.kotlin.multiplatform.library` crashes with Gradle Managed Devices

Android Gradle plugin 8.12.2

Fixed Issues