【问题标题】:cr_VariationsUtils: Failed reading seed filecr_VariationsUtils:读取种子文件失败
【发布时间】:2019-04-16 07:11:31
【问题描述】:

我在第一次选择语言后启动片段时收到此日志,即更改区域设置以及首次根据所选语言加载字符串资源。

E/cr_VariationsUtils: Failed reading seed file "/data/user/0/com.example.sample/app_webview/variations_seed_new": /data/user/0/com.example.sample/variations_seed_new (No such file or directory)

E/cr_VariationsUtils: Failed reading seed file "/data/user/0/com.example.sample/app_webview/variations_seed": /data/user/0/com.example.sample/app_webview/variations_seed (No such file or directory)

【问题讨论】:

  • 你解决问题了吗?
  • 我也有这个问题,解决了吗?

标签: android locale viewmodel


【解决方案1】:

据我所知,可以放心地忽略此错误。

Chromium 是 Android webviews 底层的浏览器引擎,它为不同的用户提供不同的 Chrome 设置变体,以衡量实验和新功能的影响(Chrome privacy whitepaper,请参阅“Chrome 变体”部分)。 根据VariationsUtils source,根据随机种子决定提供哪些变体,随机种子缓存在“种子文件”中。我不知道为什么读取种子文件会失败,但它似乎不会导致正在运行的应用程序中的 Android webviews 出现任何问题,因此请忽略此错误。

【讨论】:

  • 我收到与此错误相关的类似错误:E/OneSignal: You must initialize OneSignal before getting tags! Moving this tag operation to a pending queue.
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多