Android下APP出现java.io.IOException: Cleartext HTTP traffic to dict.youdao.com not permitted,百度查了一下是Android高版本后限制了HTTP访问权限,如何解决?
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config cleartextTrafficPermitted="true" />
</network-security-config>
    <application
    ...
     android:networkSecurityConfig="@xml/network_security_config"
    ...
        />

 

Cleartext HTTP traffic to ... not permitted

原文地址: https://www.cnblogs.com/kinglandsoft/p/10481500.html

相关文章:

  • 2022-12-23
  • 2021-10-08
  • 2021-06-14
  • 2022-02-08
  • 2021-05-11
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2021-04-05
  • 2021-04-21
  • 2022-12-23
相关资源
相似解决方案