Failed to open zip file.Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
AndroidStudio升級4.0,完了后下載gradle-6.1.1,中途由于網(wǎng)絡(luò)原因下載失敗.提示解壓zip失敗,這種情況可能有時發(fā)生在網(wǎng)絡(luò)連接超時后.
解決方法:
參考上圖目錄:
C:\Users\12859.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst
將該目錄下的gradle-6.1.1-all.zip和gradle-6.1.1-all.zip.lck刪掉,重新下載即可.