本文介绍了这是什么意思:应该明确设置“机器人:fullBackupContent”,以避免备份的GCM设备特定REGID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是什么皮棉警告意思是:

What does this Lint warning mean:

应该明确设置机器人:fullBackupContent,以避免备份  在GCM设备特定REGID?

我GOOGLE了,但没有发现任何东西。

I've googled but haven't found anything yet.

推荐答案

的<零件href="https://commonsware.com/blog/2015/06/04/random-musings-m-developer-$p$pview-bad-part-two.html">disturbing 自动备份的应用程序是要控制哪些文件可以备份,通过安卓fullBackupContent 。该属性指向一个XML资源(例如, @ XML / backup_rulez ),即描述了一个白名单或黑名单控制哪些内容进行备份。

Part of the disturbing "auto backup for apps" is the ability to control what files get backed up, via android:fullBackupContent. That attribute points to an XML resource (e.g., @xml/backup_rulez), that describes either a whitelist or a blacklist controlling what gets backed up.

什么皮棉警告警告你没有备份GCM注册ID,作为每个设备,所以它需要被重新生成,如果您的应用程序的数据从备份恢复到新设备。就个人而言,从我的头顶,我不知道在哪里GCM中存储的注册ID。

What the Lint warning is warning you about is not backing up the GCM registration ID, as that is per-device, and so it would need to be re-generated if your app's data is restored from the backup onto a new device. Personally, off the top of my head, I don't know where GCM is storing that registration ID.

这篇关于这是什么意思:应该明确设置“机器人:fullBackupContent”,以避免备份的GCM设备特定REGID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 13:02