- Experimental automated backup and restore testing, configured through the testOptions.backupTests block, which builds and runs JUnit 5 tests that back up, restore, and verify app data on connected devices.
From Android Gradle Plugin
Android Gradle plugin 9.5 is a minor release that includes a variety of new features and improvements.
Compatibility
The maximum API level that Android Gradle plugin 9.5 supports is API level 37. Here is other compatibility info:
| Minimum version | Default version | Notes | |
|---|---|---|---|
| Gradle | 9.6.0 | 9.6.0 | 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. |
Automated backup and restore testing
[!WARNING] Experimental: This is an experimental feature. To enable this feature, set
android.experimental.testSuiteSupport=trueandandroid.experimental.enableBackupTest=truein yourgradle.propertiesfile.
AGP 9.5.0-alpha09 adds automated backup and restore tests to help you catch
missing or unusable restored data before you release. Declare a test suite in
the testOptions.backupTests block. AGP then builds and runs JUnit 5 tests that
add test data to your app on connected devices, back up and restore the app, and
check that the data is intact. You can test local, cloud, and device-to-device
transfers, and the results appear in an HTML test report. For more information,
see Automated backup and restore testing and the
backup and restore testing release
notes.
Fixed issues
Android Gradle plugin 9.5.0
| Fixed Issues | |
|---|---|
| No public issues were marked as fixed in AGP 9.5.0 |