Android Gradle Plugin 8.10.0 (May 2025)

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

Compatibility

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

Minimum version Default version Notes
Gradle 8.11.1 8.11.1 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.

API changes

Android Gradle plugin 8.10.0 contains the following notable API changes:

Fixed issues

Android Gradle plugin 8.10.0

Fixed Issues
Android Gradle Plugin
AGP should claim that it supports API 35 that is about to ship
AndroidComponentsExtension.addSourceSetConfigurations broken when stats are enabled
Project ':app' cannot access 'Project.group' and 'Project.version' with isolated project setup in AGP 8.8.0
Initialization script 'C:\Users\mypc\AppData\Local\Temp\ijresolvers2.gradle' line: 162
Initialization script 'C:\Users\mypc\AppData\Local\Temp\ijresolvers2.gradle' line: 162
Unable to strip the following libraries, packaging them as they are
Add support for passing "isolated splits" info to R8
App crashes with NoClassDefFoundError and ClassNotFoundException when running app from Android Studio
Android Gradle Plugin: Avoid overriding Sync.getDestinationDir() in PackageRenderscriptTask and ProcessJavaResTask
Use merged java resources for unit tests
Isolated project: DeclarativeSchemaModel serialization error
Dexer (D8)
Backporting of android.os.Build.VERSION_CODES_FULL incorrect for Baklava
AutoClosable desugaring no longer reports ExecutorService.close as supported
Lint
Wrong lint warning for `@Parcelize` annotation on sealed interfaces
AS 2024.3.1.4 hang intermittently when editing kotlin texts.
False positive lint error for CredentialManagerSignInWithGoogle
ConcurrentModificationException in Aligned16KB lint check
Lint: AGP 8.10.0-alpha05 triggers lots of false positive SyntheticAccessor
Make it possible to enable NewApi on test sources
What is the effect of pressing button "LintIdeFix" after code inspection in Android Studio
Error in the text of the warning message: "Unnecessary; `Build.VERSION.SDK_INT >= Build.VERSION_CODES.O` is *never* true here (`SDK_INT` ≥ 26 and < 31)"
Shrinker (R8)
Unable to Generate Signed APK after updating to AGP 8.9.0
Analyze written-before-read property at allocation sites encounters error when generating classfile
Problem regarding Java SPI in R8 shrinker of versions 8.6.*, 8.7.*, 8.8.0
ClassCastException from a safe cast in class init
Resource Shrinking Issue in AGP 8.9 Causing Missing Resources in Dynamic Feature Modules
Cannot invoke com.android.tools.r8.internal.H5.x()

Android Gradle plugin 8.10.1

Fixed Issues
Android Gradle Plugin
Explicitly enabling device tests in a non-default build type using AGP does not work
Shrinker (R8)
NullPointerException when compiling instant app after updating Kotlin to 2.1.20
[AGP]: ERROR: R8: java.lang.OutOfMemoryError: Required array length 2147483638 + 196 is too large