最近我将Android 9更新为Android 10,但不幸的是,有时应用程序会崩溃并显示此错误。
com.fgapps.maker 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.
我尝试在清单中使用这个
<application
android:hardwareAccelerated="false"
android:networkSecurityConfig="@xml/network_security_config"
android:usesCleartextTraffic="true"
....>
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
我还添加了 build-gradle (app)。
android {
useLibrary 'org.apache.http.legacy'
...}
我的应用因站点行为:导航
违规被AdMob拒绝,即使我检查了所有链接都正常工作,该怎么解决这个问题。谢谢。