美文网首页程序员
AndroidStudio之Cause: unable to f

AndroidStudio之Cause: unable to f

作者: 小天奇 | 来源:发表于2019-10-15 23:30 被阅读0次

一直有个问题困扰我很久,总是解决不了。问题就是:在构建的时候会出现Cause: unable to find valid certification path to requesst 。这个问题在网上有很多解决办法,但都无法解决我的问题,最终其实这个问题到原因可能是因为文件中有错误,比如xml文件。

在AndroidStudio的控制台运行这个命令:

gradlew compileDebugSource --stacktrace -info

mac linux系统输入:

./gradlew compileDebugSource --stacktrace -info

系统会给出项目构建的详细信息哪里有错误,改了就可以了。

很感谢下面这位大哥

参考:https://blog.csdn.net/chaoyangsun/article/details/88692226

相关文章

网友评论

    本文标题:AndroidStudio之Cause: unable to f

    本文链接:https://www.haomeiwen.com/subject/yjgemctx.html