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

这是由于app不信任我们的证书导致https会话失败。 
jcenter()修改为:

jcenter{
            url 'http://jcenter.bintray.com'
        }
  • 1
  • 2
  • 3

参考:http://jimiatworking.blogspot.com/2016/12/gradle-console-errorcause-unable-to.html?view=flipcard

猜你喜欢

转载自blog.csdn.net/blakebai/article/details/80881677