Android API 28 配置 networkSecurityConfig

在一個項目中既用到了 科大訊飛聽寫API,又要訪問本身的服務器(非HTTPS)。html 而當升級到Android API 28時,須要配置networkSecurityConfig 才能訪問服務器,服務器 如https://blog.csdn.net/xyx2999/article/details/82909582dom 可是按上述連接中配置,服務器能夠訪問了,可是訊飛API不能用了。.net
相關文章
相關標籤/搜索