Android Studio: Re-download dependencies and sync project

前端 未结 15 2119
孤街浪徒
孤街浪徒 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:43

    I face the same problem and I search for it and found a best solution and i works for me:

    1. Manually download Gradle 3.3 binary (direct link: https://services.gradle.org/distributions/gradle-3.3-bin.zip)

    2. Open your android studio root directory, and extract the zip to the gradle folder (for example: program files/android-studio/gradle/gradle-3.3)

    3. Open Android Studio, go to File->Settings-> (Build, Exectution, Deployment) >Gradle and set "Gradle home" to point your new gradle-3.3 folder.

    4. Apply and sync.

提交回复
热议问题