1. 程式人生 > >解決gradle "Error:Cause: unable to find valid certification path to requested target"

解決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