Tests in a backup test suite run against the app variant that the suite
targets, so they no longer need @BackupRestoreConfig.
You can bind a @Device role to a device with the
androidx.test.backup.device.serial.{role} system property. For more
information, see Choose devices.
When Google Play services skips your app or needs an update to restore it,
the restore fails with an error message that says why. For more
information, see Troubleshoot failed restores.
Bug fixes and reliability improvements.
To use this version, set backupTestLibraryVersion to "1.0.0-alpha03" in
your test suite.
1.0.0-alpha02
October 7, 2026
Bug fixes and improved integration with AGP test suites.
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-26 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-26 UTC."],[],[]]