Gradle build failed - unable to unzip

前端 未结 2 728
不思量自难忘°
不思量自难忘° 2021-02-15 17:44

I am doing a project using android studio.Recently it showed an error that your SDK is missing or out of date so, I downloaded SDK once again.Now it shows an error

2条回答
  •  一整个雨季
    2021-02-15 18:34

    I had the same problem, The answer is there : https://developer.android.com/studio/build/build-cache.html?utm_source=android-studio#clear_the_build_cache

    You have just to do in a Terminal (for have terminal : Select View > Tool Windows > Terminal) :

    On Windows:

    gradlew cleanBuildCache
    

    On Mac or Linux:

    ./gradlew cleanBuildCache
    

    And build Gradle

提交回复
热议问题