如何解决http和站点行为:android应用程序中的导航错误?
最近我将安卓9更新为安卓10,但不幸的是,该应用程序有时会崩溃并出现此错误如何解决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
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-从后退按钮移除所有广告。2-从mainActivity中删除所有ad。3-如果发现重叠,则删除重叠。然后请求审阅。感谢您的回复,我还从back Press和包含打开另一个应用程序按钮的活动中删除了广告。现在问题解决了。
android {
useLibrary 'org.apache.http.legacy'
...}