天天看點

Error:Minimum supported Gradle version is 2.14.1. Current version is 2.10. If using the gradle wrap

今天我老婆導入項目的時候遇到一個錯誤,内容如下:

Error:Minimum supported Gradle version is 2.14.1. Current version is 2.10. If using the gradle wrapper, try editing the distributionUrl in E:\xdStudy\GyroscopeExplorer-master\gradle\wrapper\gradle-wrapper.properties to gradle-2.14.1-all.zip”

Error:Minimum supported Gradle version is 2.14.1. Current version is 2.10. If using the gradle wrap

我大眼睛一看,這不是Gradle版本的問題嗎;好吧。我之前把所有的Gradle全部都下載下傳過:

第一種方法:下面我分享下我的百度雲:http://pan.baidu.com/s/1hrCiQe4 (可以直接在裡面找到你需要的版本下載下傳即可):

裡面内容:

Error:Minimum supported Gradle version is 2.14.1. Current version is 2.10. If using the gradle wrap

第二種方法:去官網下載下傳,不過下載下傳下來和我的一樣,網址:http://www.androiddevtools.cn/,如果進入下面截圖的頁面就對了:

Error:Minimum supported Gradle version is 2.14.1. Current version is 2.10. If using the gradle wrap

下載下傳好放到哪裡呢?有兩步驟!

1、放到的地方路徑就是:放到D:\android\android-studio\gradle\:目錄下,也就是你自己Android studio路徑下有個gradle,點選進去複制即可!

Error:Minimum supported Gradle version is 2.14.1. Current version is 2.10. If using the gradle wrap

2、引用此版本的gradle

Error:Minimum supported Gradle version is 2.14.1. Current version is 2.10. If using the gradle wrap

其實類似的問題都這樣解決即可。缺哪個版本下那個就是了,好了。如果還有問題請給我留言。