项目编译到安卓平台出错

模拟器里可以运行,可以构建工程,但编译时出错
日志文件如下

  • What went wrong:
    Could not resolve all files for configuration ‘:libcocos2dx:lintClassPath’.

Could not download groovy-all.jar (org.codehaus.groovy:groovy-all:2.4.12)
Could not get resource ‘https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.jar’.
Could not GET ‘https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.jar’.
d29vzk4ow07wi7.cloudfront.net
Could not download kotlin-stdlib.jar (org.jetbrains.kotlin:kotlin-stdlib:1.2.0)
Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.jar’.
Could not GET ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.jar’.
d29vzk4ow07wi7.cloudfront.net

同样的问题,请问贵同行是怎么解决的

我也碰到同样的问题:* What went wrong:
Could not resolve all files for configuration ‘:libcocos2dx:lintClassPath’.

Could not download groovy-all.jar (org.codehaus.groovy:groovy-all:2.4.12)
Could not get resource ‘https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.jar’.
Could not GET ‘https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.jar’.
Connection reset
Could not download trove4j.jar (org.jetbrains.trove4j:trove4j:20160824)
Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar’.
Could not GET ‘https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar’.
Connection reset
Could not download kotlin-stdlib.jar (org.jetbrains.kotlin:kotlin-stdlib:1.2.0)
Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.jar’.
Could not GET ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.jar’.
Connection reset
37 actionable tasks: 3 executed, 34 up-to-date

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

我也是遇到这个,请问楼主是怎么解决的

同问题,有人能解决吗?