Android BackupManager 全量数据备份没有同意
Android BackupManager Full data backup does not have consent
我正在使用 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.
我在重新添加我的 Google 帐户后开始工作:
- 转到设置并选择帐户;
- 点击 Google 帐户;
- 点击三点图标;
- 点击删除帐户。
之后,单击 添加帐户 以重新添加您的 Google 帐户。
有同样的问题(Transport rejected package because it wasn't able to process it at the time
在 logcat 中执行 adb shell bmgr backupnow com.myapp
和 INELIGIBLE_DOLLY_CONSENT
时。
只需在 phone 设置中禁用并重新启用备份即可解决此问题。
我正在使用 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.
我在重新添加我的 Google 帐户后开始工作:
- 转到设置并选择帐户;
- 点击 Google 帐户;
- 点击三点图标;
- 点击删除帐户。
之后,单击 添加帐户 以重新添加您的 Google 帐户。
有同样的问题(Transport rejected package because it wasn't able to process it at the time
在 logcat 中执行 adb shell bmgr backupnow com.myapp
和 INELIGIBLE_DOLLY_CONSENT
时。
只需在 phone 设置中禁用并重新启用备份即可解决此问题。