Backup and restore testing release notes

For the complete list of changes in each library version, see the androidx.test.backup release notes.

1.0.0-alpha03

October 21, 2026

  • 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.

1.0.0-alpha01

September 23, 2026

Initial release for the automated backup and restore testing libraries, androidx.test.backup:backup and androidx.test.backup:backup-host.