每当我尝试在Android中制作新项目时,都会收到此错误
Failed to import Gradle project: Could not fetch model of type 'IdeaProject' using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
Build file 'C:\Users\vvina_000\AndroidStudioProjects\MyApplicationProject\MyApplication\build.gradle' line: 9
A problem occurred evaluating project ':MyApplication'.
A problem occurred evaluating project ':MyApplication'.
Could not create plugin of type 'AppPlugin'.
com.google.common.collect.Maps
Consult IDE log for more details (Help | Show Log)
我打开了build.gradle文件,所有内容都是:
// Top-level build file where you can add configuration options common to all sub-projects/modules", there is no line 9.
答案 0 :(得分:0)
最近有同样的问题。 解决方法是删除Gradle并重置AndroidStudio: (OSX Mountain Lion)
然后一切都像魅力一样:D