Android Studio Stuck at Gradle Download on create new project

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.

Is there any way to install the Gradle required by Android Studio manually? Or any other method to solve this problem ?

screenshot


Solution 1:

It is not stuck, it will take some time normally 5-7 mins , it also depends upon internet connection, so wait for some time. It will take time only for first launch.

Update: Check the latest log file in your C:\Users\<User>\.gradle\daemon\x.y folder to see what it's downloading.

Solution 2:

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.

Solution 3:

I found the same issue happening on my laptop, despite waiting for quite a long time. This is what I did and it worked for me. Just force close the Android Studio and launch it again. This time, just open the existing project and let it take care of finishing up the process of building/downloading.

Another option that you could possibly try is that if you look into File --> Settings, there is an option for Gradle location. You could go to the Gradle download site, download a local distribution of Gradle and point the Gradle location to that local directory.