E/chromium:[错误:cookie_manager.cc(137)] 严格的安全 Cookie 政策不允许设置安全 Cookie

E/chromium: [ERROR:cookie_manager.cc(137)] Strict Secure Cookie policy does not allow setting a secure cookie

提问人:James Jacques 提问时间:5/23/2021 更新时间:5/23/2021 访问量:1052

问:

我想在模拟器上测试我的应用程序,然后再将其发布到 google play 商店。应用程序可以正常工作,但广告未显示。在logcat中,我有信息:

E/FA: Missing google_app_id. Firebase Analytics disabled.
E/chromium: [ERROR:cookie_manager.cc(137)] Strict Secure Cookie policy does not allow setting a secure cookie for http://googleads.g.doubleclick.net/ for apps targeting >= R. Please either use the 'https:' scheme for this URL or omit the 'Secure' directive in the cookie value.

附言

我在应用中使用 webview 和 svg 文件

有谁知道如何解决它?

android-studio webview admob chromium

评论

0赞 Abdulsamet Kılınçarslan 5/25/2021
我不使用任何网页视图,但在尝试设置 admob 广告时仍然会获取此信息。
1赞 Martin Zeitler 7/26/2021
这回答了你的问题吗?更新到 Android 11 后,Admob 中出现严格的安全 Cookie 政策错误

答: 暂无答案