Android Studio: Re-download dependencies and sync project

前端 未结 15 2120
孤街浪徒
孤街浪徒 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条回答
  •  一生所求
    2020-12-01 18:33

    Well, It's a bit late, but usually happens when something went wrong in Android Studio's initial launch (eg. system crash, connection loss or whatever). We can call it bad programming or lazy QA.

    To fix this close Android Studio and delete everything from the following directory. Don't worry files will be downloaded on next launch.

    For Windows: C:\Users\your-username.gradle\wrapper\dists

    For Linux: ~/.gradle/wrapper/dists

    For mac: ~/.gradle/wrapper/dists

    You can also Gradle manually to fix this issue, But it's better to let Android studio does this work. .

提交回复
热议问题