Android解决gradle "Error:Cause: unable to find valid certification path to requested target"

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/codekxx/article/details/82726709

**

错误原因:由于app不信任我们的证书导致https会话失败。

**


可以将gradle中的jcenter()修改为:

jcenter{
            url 'http://jcenter.bintray.com'
        }

大功告成!

猜你喜欢

转载自blog.csdn.net/codekxx/article/details/82726709