今天试了一下android studio,开始时用着没什么事。可是弄一个Java内容较多的Activity时,运行不了项目,提示以下错误:
Gradle:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':ImageCropper:compileDebug'.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
注释代码后又可以了,代码没有错啊。不知道有没有哪们兄弟也遇到这样的问题,又如何解决?
android studio还只是半成品,bug应该很多,最好不要用于开发.
我写了个广播 继承 BroadcastReceiver 就报错 Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.就这个错误。我就崩溃了。不能集成没法写啊。