Gradle xxx project refresh failed,Minimum supported Gradle的問題

Error:Cause: https://downloads.gradle.org/distributions/gradle-2.1.0-all.zip

studio新導入一個文件,總是報錯,最快的解決辦法就是把項目下的gradle/wrapper文件夾下的gradle.properties刪掉.問題就解決了.

這裏寫圖片描述

Minimum supported Gradle version is 3.3. Current version is 2.10. If using the gradle wrapper, try editing the distributionUrl in D:\text\Definetion\gradle\wrapper\gradle-wrapper.properties to gradle-3.3-all.zip

今天把studio的版本升級到2.3了,打開之前的項目提示以上的錯誤,原因是我更新了gradle,但本地使用的還是之前的,所以選擇默認就可以了

這裏寫圖片描述

發佈了39 篇原創文章 · 獲贊 25 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章