主要的错误日志如下:
编译模式:debug
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project ‘proj.android-studio’.
Could not resolve all files for configuration ‘:classpath’.
Could not download kotlin-reflect.jar (org.jetbrains.kotlin:kotlin-reflect:1.1.3-2)
Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.1.3-2/kotlin-reflect-1.1.3-2.jar’.
Could not GET ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.1.3-2/kotlin-reflect-1.1.3-2.jar’.
Software caused connection abort: recv failed
Could not download kotlin-stdlib.jar (org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2)
Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.jar’.
Could not GET ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.jar’.
Remote host closed connection during handshake
Could not download bcpkix-jdk15on.jar (org.bouncycastle:bcpkix-jdk15on:1.56)
Could not get resource ‘https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.jar’.
Could not GET ‘https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.jar’.
Software caused connection abort: recv failed
Could not download fastutil.jar (it.unimi.dsi:fastutil:7.2.0)
Could not get resource ‘https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.jar’.
Could not GET ‘https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.jar’.
Software caused connection abort: recv failed
Could not download lombok-ast.jar (com.android.tools.external.lombok:lombok-ast:0.2.3)
Could not get resource ‘https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar’.
Could not GET ‘https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar’.
Software caused connection abort: recv failed
Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
- Get more help at https://help.gradle.org
BUILD FAILED in 4m 18s
执行命令出错,返回值:1。
首先我这边是翻墙的,我依次点开上述网址,确实打不开,但是其他版本链接地址很多都能打开,所以我不确定是我网络问题还是上述地址对应的ftp文件就不存在?
希望引擎组或者遇到过的朋友,给予帮助!!!
谢谢
