Android Gradle plugin 9.1.0

Android Gradle plugin 9.1 is a major release that includes a variety of new features and improvements.

Compatibility

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

Minimum version Default version Notes
Gradle 9.2.1 9.2.1 To learn more, see updating Gradle.
SDK Build Tools 36.0.0 36.0.0 Install or configure SDK Build Tools.
NDK N/A 28.2.13676358 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 9.1.0-alpha05

Fixed Issues
Android Gradle Plugin
AGP 9.0.0-rc01 doesn't resolve Kotlin libraries via kotlin() function

Android Gradle plugin 9.1.0-alpha04

Fixed Issues
Android Gradle Plugin
`*.xml.flat` files contain absolute file paths

Android Gradle plugin 9.1.0-alpha03

Fixed Issues
No public issues were marked as fixed in AGP 9.1.0-alpha03

Android Gradle plugin 9.1.0-alpha02

Fixed Issues
Android Gradle Plugin
Add ability to turn ManifestProcessorTask warnings into errors

Android Gradle plugin 9.1.0-alpha01

Fixed Issues
Android Gradle Plugin
Add ability to turn ManifestProcessorTask warnings into errors
Transforming `OBFUSCATION_MAPPING_FILE` artifact results in outputs of R8 task missing from the output folder