Android Studio: Re-download dependencies and sync project

前端 未结 15 2152
孤街浪徒
孤街浪徒 2020-12-01 18:23

I downloaded an open source game \"ChaseWhisplyProject\" source code from Github.

I imported the project in my Android Studio (Version 1.5.1).

It shows foll

15条回答
  •  旧时难觅i
    2020-12-01 18:48

    It basically means that the gradle zip file in the cache folder is corrupted, if you don't want to change the version like the up-voted answer then you must delete the folder for your gradle version you're using for this project from the below path.

    Then just retry the sync and android studio will download it again

    C:\Users\ [user here]  \.gradle\wrapper\dists
    

    ex: if you're using 3.3 for this project you'd be deleting the folder

    C:\Users\[user here]\.gradle\wrapper\dists\gradle-3.3-all
    

提交回复
热议问题