我在Windows上制作了一个项目,当尝试使用Ubuntu打开并构建它时,我得到以下错误。任何人都可以帮我理清一下吗?我已经看到帖子说0.5“+ 0.5.6变化,这并没有帮助。无法使用Gradle分发执行构建'http://services.gradle.org/distributions/gradle-1.7-bin.zip'
FAILURE: Build failed with an exception.
* Where:
Build file '/media/Data/Android/SivLtdProject/FitnessUnlimited/build.gradle' line: 9
* What went wrong:
A problem occurred evaluating project ':FitnessUnlimited'.
Cause: org/gradle/internal/reflect/Instantiator
Cause: org.gradle.internal.reflect.Instantiator
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
如果您有什么需要发布,只是让我知道。
后乱搞的一点我得到错误NoClassDefFoundError的:组织/ gradle产出/内部/反映出/初始化程序
我安装gradle这个通过apt-get的,还有什么我需要做的就是它建立?
由于@ user852671用'--stacktrace'参数编写了运行构建并粘贴了结果。你也可以粘贴你的构建,并写出哪一行是第9。 – pepuch