2015-10-01 32 views
1

我剛剛下載並安裝了最新版本的android studio(v 1.4)。創建一個新的項目後,我看到這個錯誤有關gradle這個刷新失敗:無法使用指定的Gradle安裝創建Tooling API實現的實例

Error: Could not create an instance of Tooling API implementation using the specified Gradle installation '/Applications/Android Studio.app/Contents/gradle/gradle-2.4'.

我試過,我在網上找到並沒有修好這麼多不同的事情。當我打開項目的佈局窗口時,它說「Gradle項目同步失敗...」

我不確定錯誤意味着什麼,也不知道如何使用它的任何其他版本。

回答

1

我有這個問題,修復是不使用gradle 2.4我刪除了gradle/gradle 2.4文件夾和在構建目錄中的gradle/wrapper/gradle-wrapper-properties更改'distributionUrl'到另一個gradle分發。