从代码库clone代码后,运行代码遇到了一下问题,在网上查了很多资料说是被墙了,试了vpn、手机热点等方法,最后还剩这一个错解决不了,卡住了,最后直接手动下载groovy-all.jar包到本地,最后解决了。
- What went wrong: Execution failed for task ':connectivity:extractDebugAnnotations'.
Could not resolve all files for configuration ':connectivity:lintClassPath'. Could not download groovy-all.jar (org.codehaus.groovy:groovy-all:2.4.15) > Could not get resource 'jcenter.bintray.com/org/codehau…'. > Could not GET 'd29vzk4ow07wi7.cloudfront.net/51d6c4e7178…'. > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
-
Get more help at help.gradle.org