我正在使用bmgr测试自动备份,但无法正常工作。

我的 list 中有 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.

最佳答案

遇到相同的问题(在logcat中执行Transport rejected package because it wasn't able to process it at the timeadb shell bmgr backupnow com.myapp时为INELIGIBLE_DOLLY_CONSENT)。

仅通过在电话设置中禁用并重新启用备份即可解决该问题。

关于android - Android BackupManager完整数据备份不同意,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/46183518/

10-12 05:23