alibaba / freeline

A super fast build tool for Android, an alternative to Instant Run
https://www.freelinebuild.com/
BSD 3-Clause "New" or "Revised" License
5.48k stars 623 forks source link

执行 ./gradlew initFreeline -Pmirror 报 unable to find valid certification path to requested target #844

Open fuyuguang opened 7 years ago

fuyuguang commented 7 years ago

一些问题发生在执行 如下命令时

./gradlew initFreeline -Pmirror

错误信息如下 :

Parallel execution with configuration on demand is an incubating feature. freeline auto add runtime dependencies: 0.8.3 Incremental java compilation is an incubating feature. find variant debug start hack process... variant release is not debug, skip hack process. :initFreeline Freeline initial process start... [ERROR] Fetching data from api occurs error [ERROR] Fetching data from github occurs error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target :initFreeline FAILED

FAILURE: Build failed with an exception.

这个问题如何解决呢?

谢谢

act262 commented 7 years ago

可能是某个安全证书问题,多试几次看看