Cordova 4.1.2 Android studio 1.0 bug Gradle版

时间:2014-12-11 08:33:07

标签: android cordova android-studio android-gradle

我是Cordova和Android的新手。我在MAC OS Mavericks上工作

我安装Android Studio(1.0)而不是创建项目并将其导入Android Studio。我在控制台中收到此错误: Gradle版本1.10是必需的。目前的版本是2.2.1 ...

我很多堆栈帖子但没什么用。

我尝试将gradle-wrapper属性更改为https://services.gradle.org/distributions/gradle-1.1-all.zip但我收到其他错误。

Error:Unable to load class 'org.gradle.internal.reflect.Instantiator'.
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

我还阅读了这篇文章Gradle version 1.10 is required. Current version is 2.0

任何帮助都会受到赞赏。

0 个答案:

没有答案