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.
AGP 9.2.0 regression: `LibraryExtension.getSourceSets()` is typed on an interface the source-set implementation no longer implements, causing ClassCastException
Add a test that validate relocation does not affect task execution
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-10-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-13 UTC."],[],[]]