测试备份和恢复超出未经身份验证的使用的每日限制

时间:2017-01-30 23:50:21

标签: android backup restore

我正在关注https://developer.android.com/guide/topics/data/testingbackup.html

的指示

但是,我从命令行工具恢复几次后出现,我从logcat获得以下输出,我无法恢复,看来我达到了每日限制和未经验证的用户,有谁知道如何克服这个问题? (我在谷歌驱动器上登录)

{
    "error":{
        "errors":[
            {
                "domain":"usageLimits",
                "reason":"dailyLimitExceededUnreg",
                "message":"Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
                "extendedHelp":"https://code.google.com/apis/console"
            }
        ],
        "code":403,
        "message":"Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
    }
}

another issue

01-30 15:49:52.212 1222-2796/? E/Backup: [CacheRestoreHelper] Restore token not found.
                                         java.io.FileNotFoundException: /data/user/0/com.google.android.gms/files/d2d_restore_data/restore_token_file: open failed: ENOENT (No such file or directory)
                                             at libcore.io.IoBridge.open(IoBridge.java:452)
                                             at java.io.FileInputStream.<init>(FileInputStream.java:76)
                                             at loe.a(:com.google.android.gms:226)
                                             at gev.a(:com.google.android.gms:2201)
                                             at geq.b(:com.google.android.gms:617)
                                             at geq.getAvailableRestoreSets(:com.google.android.gms:608)
                                             at android.app.backup.BackupTransport$TransportImpl.getAvailableRestoreSets(BackupTransport.java:588)
                                             at com.android.internal.backup.IBackupTransport$Stub.onTransact(IBackupTransport.java:170)
                                             at android.os.Binder.transact(Binder.java:387)
                                             at bxp.onTransact(:com.google.android.gms:35)
                                             at android.os.Binder.execTransact(Binder.java:453)
                                          Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
                                             at libcore.io.Posix.open(Native Method)
                                             at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
                                             at libcore.io.IoBridge.open(IoBridge.java:438)
                                             at java.io.FileInputStream.<init>(FileInputStream.java:76) 
                                             at loe.a(:com.google.android.gms:226) 
                                             at gev.a(:com.google.android.gms:2201) 
                                             at geq.b(:com.google.android.gms:617) 
                                             at geq.getAvailableRestoreSets(:com.google.android.gms:608) 
                                             at android.app.backup.BackupTransport$TransportImpl.getAvailableRestoreSets(BackupTransport.java:588) 
                                             at com.android.internal.backup.IBackupTransport$Stub.onTransact(IBackupTransport.java:170) 
                                             at android.os.Binder.transact(Binder.java:387) 
                                             at bxp.onTransact(:com.google.android.gms:35) 
                                             at android.os.Binder.execTransact(Binder.java:453) 

0 个答案:

没有答案