Android Studio Stuck at Gradle Download on create new project

后端 未结 17 1739
盖世英雄少女心
盖世英雄少女心 2020-12-02 04:01

I have installed the new Android Studio. Everything was working fine but when I try to create a new project it gets stuck at downloading Gradle

17条回答
  •  囚心锁ツ
    2020-12-02 04:44

    Yes, There is.

    1. Create a new project and you should Shutdown The Android Studio Application.(Because it takes a long time for you).
    2. Goto C:\Users\{Logged in User}\.gradle folder
    3. There is a folder there that show you which version of gradle Android Studio requires (e.g. gradle-1.8-bin)
    4. Download this version from internet (e.g. gradle-1.8-bin.zip).
    5. Goto C:\Users\{Logged in User}\.gradle\wrapper\dists\gradle-1.8-bin
    6. There is a folder here that its name is like a GUID.
    7. You should just copy the zip file that you've already downloaded from internet into this folder.
    8. Execute Android Studio and create a new project.

提交回复
热议问题