记录解决android studio的 Cause: unable to find valid certification path to requested target 问题

2023-05-16

之前AS升到4.1 都是证书的问题,然后又降到了4.0.1。

折磨就硬折磨。

到4.0.1 还是有Cause: unable to find valid certification path to requested target 这个问题,然后就很烦啊,一直都是出现这个。

试过了换网络,清除缓存,多次sync,添加证书等等 ,但是没解决掉。

今天就莫名其妙的解决了。

因为解决掉了,所以用图文解释了。

我简单的叙述下吧。

就是当你出现 Cause: unable to find valid certification path to requested target 这个问题的时候,在右边有一个详细的提示,选择右边往上拉,AS 会给你两个解决方案吧,第一个我记得是  Run with 。。啥的,然后第二个是Run with debug 这样的,你点debug那个,然后As就自动执行,等待结束,就可以了。

基本上这样吧。苦逼的码友 多试试吧。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

记录解决android studio的 Cause: unable to find valid certification path to requested target 问题 的相关文章

随机推荐