BackupManager & BackupAgent in Android 2.2

前端 未结 3 1771
北荒
北荒 2021-01-27 00:48

I\'ve reviewed the docs and the sample BackupRestore app and written my own test app implementing android:backupAgent. I extended the BackupAgent clas

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-27 01:12

    I also tried to use the "new" Backup Manager Service and always got following error messages:

    12-01 09:58:54.420: WARN/BackupTransportService(9965): Unknown package in backup request: @pm@
    12-01 09:58:54.450: WARN/BackupTransportService(9965): Not ready for backup request right now: [OperationScheduler: enabledState=false lastSuccess=2010-10-07/09:33:51 moratoriumSet=2010-12-01/09:53:32 moratorium=1970-01-01/01:00:00 trigger=1970-01-01/01:00:00]
    12-01 09:58:54.450: WARN/PerformBackupThread(9965): Backup pass unsuccessful, restaging
    

    Does anybody know what this means???

    If I change backup transport to local version with following command

    adb shell bmgr transport android/com.android.internal.backup.LocalTransport
    

    everything works well. So its not a problem of my code, I think...

    Regards!

提交回复
热议问题