Android Studio 3. 5.1 Error:Cause: unable to find valid certification path to requested target

Android Studio 3. 5.1 Error:Cause: unable to find valid certification path to requested target

问题描述

  • 在某一个抽风的上午,手贱升级了Android Studio从3.5到3.5.1,结果新建项目就报了“Error:Cause: unable to find valid certification path to requested target” 这个错误

问题解决

  • 首先很感谢这位博主的解决方案:Android Studio gradle 提示"unable to find valid certification"的解决办法,可能是我的版本太高,并不适用,但是很多小伙伴可以参考
  • 重点来了,我查看了报错日志,发现AS自己用的版本和我电脑的JDK版本不兼容导致的,而AS给我提供了解决方案,点击即可Android Studio 3. 5.1 Error:Cause: unable to find valid certification path to requested target
  • Then everything is gonna be OKAndroid Studio 3. 5.1 Error:Cause: unable to find valid certification path to requested target