Gradle build failed - unable to unzip

前端 未结 2 717
不思量自难忘°
不思量自难忘° 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

    0 讨论(0)
  • 2021-02-15 18:42

    You need the clear the build cache. Select View > Tool Windows > Terminal from the menu bar and use one of the following commands:

    On Windows: gradlew cleanBuildCache

    0 讨论(0)
提交回复
热议问题