标签: okhttp

1 篇文章

OKHTTP 错误CLEARTEXT communication not supported
from--https://blog.csdn.net/xyx2999/article/details/83987062 测试机android9.0的pixel2, 开发用的android api28, com.zhy:okhttputils:2.6.2 服务器用的http而非https 按照https://blog.csdn.net/xyx2999/article/details/82984501进行了配置,连接服务器报错 CLEARTEXT communication not supported: [ConnectionSpec(cipherSuites=[TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA…