Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/backbone.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何解决http和站点行为:android应用程序中的导航错误?_Android_Admob_Androidhttpclient - Fatal编程技术网

如何解决http和站点行为:android应用程序中的导航错误?

如何解决http和站点行为:android应用程序中的导航错误?,android,admob,androidhttpclient,Android,Admob,Androidhttpclient,最近我将安卓9更新为安卓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 u

最近我将安卓9更新为安卓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.
我试着在manifiest中使用这个

   <application
        android:hardwareAccelerated="false"
        android:networkSecurityConfig="@xml/network_security_config"
        android:usesCleartextTraffic="true"
        ....>

    <uses-library
        android:name="org.apache.http.legacy"
        android:required="false" />

此外,AdMob还拒绝我的应用程序,原因是网站行为:导航违反,即使我检查了所有链接是否正常工作,如何解决此问题。谢谢

我的三位朋友通过以下步骤解决了错误

  • 只是请求谷歌这是一个错误有时谷歌会修复这一点 应用程序中没有更改的问题

  • 如果没有从步骤1中修复,则可能需要从MainActivity中删除广告,尤其是间隙广告

  • 并检查应用程序是否取消了远程资源的链接


  • 我也有同样的问题。我的横幅广告覆盖或重叠了应用程序的内容。修复横幅广告后,我的应用程序再次发布,问题得到解决。因此,在我看来,请查看您的横幅广告,并查看指向其他应用程序或网页的任何直接链接。

    您找到解决方案了吗?问题不完全在哪里。但我的问题是这样解决的。1-从后退按钮移除所有广告。2-从mainActivity中删除所有ad。3-如果发现重叠,则删除重叠。然后请求审阅。感谢您的回复,我还从back Press和包含打开另一个应用程序按钮的活动中删除了广告。现在问题解决了。
    android {
        useLibrary 'org.apache.http.legacy'
        ...}