我正在尝试实现android自动备份(Android 6.0),但是它不起作用.
我得到了同样的错误
10-28 22:58:06.980 600-5578/? I/PFTBT: Initiating full-data transport backup of com.myapp.package10-28 22:58:06.981 7891-14015/? I/GmsBackupTransport: Attempt to do full backup on com.myapp.package10-28 22:58:06.982 600-5578/? I/PFTBT: Transport rejected backup of com.myapp.package, skipPing10-28 22:58:06.982 600-5578/? I/PFTBT: Full backup completed.10-28 22:58:06.982 600-610/? D/backupmanagerService: Done with full transport backup.
我尝试启用
adb shell setprop log.tag.BackupXmlParserLogging VERBOSE
和
adb shell setprop log.tag.GmsBackupTransport VERBOSE
但我在logcat中看不到更多信息.关闭备份后再打开,我得到了这个错误.怎么解决呢?
10-28 23:53:08.699 1633 1644 I GmsBackupTransport: Attempt to do full backup on com.myapp.package10-28 23:53:08.699 1633 1644 V GmsBackupTransport: Rejecting full data backup. user has not seen up to date legal text10-28 23:53:08.699 599 8353 I PFTBT : Transport rejected backup of com.myapp.package, skipPing10-28 23:53:08.699 599 8353 I PFTBT : Full backup completed.10-28 23:53:08.699 599 6518 D backupmanagerService: Done with full transport backup.
我在这里遵循了指南Auto backup.有什么想法吗?
解决方法:
我在法律文本中遇到了同样的问题.
根据doc:
Note: To protect user privacy, the device user must have opted in to
Google services for auto Backup to work. The Google services opt-in
dialog appears when the user goes through the Setup Wizard or
configures the first Google account on the device.
问题是我从未见过此对话框.
因此,我清除了Google Play服务的所有数据,将其禁用,再次启用,然后打开Play商店应用.我必须添加我的帐户,然后在过程结束时出现对话框.
然后,别忘了将Google Play服务更新到最新版本,否则您将没有分配备份帐户.在更新结束时,您应该能够执行命令adb shell bmgr fullbackup< PACKAGE>.正常.
总结以上是内存溢出为你收集整理的Android自动备份错误全部内容,希望文章能够帮你解决Android自动备份错误所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)