2013-08-30 126 views
0
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'. 
A problem occurred configuring project ':Form'. 
A problem occurred configuring project ':Form'. 
Could not resolve all dependencies for configuration ':Form:classpath'. 
Could not resolve com.android.tools.build:gradle:0.5.+. 
Required by: 
    FormProject:Form:unspecified 
Failed to list versions for com.android.tools.build#gradle;0.5.+. 
Could not list versions using M2 pattern 'http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]'. 
Could not GET 'http://repo1.maven.org/maven2/com/android/tools/build/gradle/'. 
repo1.maven.org 
+0

粘貼你完成'build.gradle'文件。 –

+0

即使我在開始一個新項目時得到這個。我避免在Android Studio中啓動任何項目。我寧願導入或打開一個項目。 – Prachi

+0

您是否安裝了構建工具?檢查Android SDK管理器。 –

回答

6

我對問題進行了排序。它只需要一個可靠的互聯網連接來下載gradle。 謝謝

+0

這不起作用,但我按住了輸入按鈕(試圖強制窗口),突然它工作。 –

相關問題