我正在使用bmgr测试自动备份,并且无法使其正常工作。
我在清单中有 allowBackup="true"
,当然它已在设备上启用。
有谁知道INELIGIBLE_DOLLY_CONSENT
是什么?
09-12 19:16:27.163 783-11562/? I/PFTBT: Initiating full-data transport backup of com.xxxxxxxxx.xxxxx
09-12 19:16:27.166 1371-1640/? I/Backup: [GmsBackupTransport] Attempt to do full backup on com.xxxxxxxxx.xxxxx
09-12 19:16:27.173 1371-1640/? W/Backup: [EligibilityFilter] Rejecting backup of com.com.xxxxxxxxx.xxxxx. Full data backup does not have consent
09-12 19:16:27.173 1371-1640/? W/Backup: [GmsBackupTransport] Rejecting package com.xxxxxxxxx.xxxxx for full backup because ineligible (INELIGIBLE_DOLLY_CONSENT).
09-12 19:16:27.175 783-11562/? I/PFTBT: Transport rejected backup of com.xxxxxxxxx.xxxxx, skipping
09-12 19:16:27.175 783-11562/? I/PFTBT: Full backup completed.
答案 0 :(得分:0)
重新添加我的Google帐户后,它可以正常工作:
然后,点击添加帐户以重新添加您的Google帐户。
答案 1 :(得分:0)
遇到相同的问题(在logcat中执行Transport rejected package because it wasn't able to process it at the time
和adb shell bmgr backupnow com.myapp
时,INELIGIBLE_DOLLY_CONSENT
)。
仅通过在电话设置中禁用并重新启用备份即可解决该问题。