0
創建項目時,每當我試圖在Android的一個新項目,我得到這個錯誤錯誤AndroidStudio
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.
有同樣的問題。通過將AndroidStudio升級到最新版本來解決此問題。 – Elist
我查過了,它是最新版本 – user2580031