Android Studio 2.2 Stuck at Building Gradle Project Info on importing existing project
Solution 1
I had deleted all gradle folder and copied it from another project and pasted it, this worked for me
Solution 2
There is downloading of Gradle going on at the background. Just wait for it to finish.
Solution 3
Just Remove Gradle files from your project folder and retry.
Hope this will help.
Solution 4
I also had the problem.
I downloaded the gradle 3.5 binary distribution zip file, deleted the gradle folder from my project, then went to settings of Android Studio, checked "Offline work", used "Use local gradle distribution" and set the path of unzipped gradle folder on the "Gradle home" and "Service directory path" text fields.
Then I tried to open the project with Android Studio 2.3.
Then a message is shown and I pressed cancel to manually configure the gradle, then I located the unzipped gradle folder again. This solved my problem.
Solution 5
Try the following :
1> Try Removing(Deleting) the gradle files from the project folder and then re-try.
2> Try to go into the android studio and then Files>Invalidate Caches/Restart and then try.
3> If the above two don't work do check the gradle,android Studio versions and see if those need updating.
4> Above 3 usually work for me , if it still persists, then you need to check the dependencies for the project. Also try importing some other project and if the same issue occurs, try a new installation of a STABLE version of the android studio.
![MBH](https://i.stack.imgur.com/qdoxr.jpg?s=256&g=1)
MBH
Software Engineer, Addicted to writing Mobile Applications for both platforms Android and iOS.
Updated on July 09, 2022Comments
-
MBH almost 2 years
I am using Android studio 2.2 on windows 10.
I am trying to import an existing android project. The problem that it took forever and still showing the message
Building 'ProjecTName' Graedle project info
after that android studio is totally getting stuck and i kill it from the task manager !
I tried the available options on Android Studio list:
Open an existing Android Studio Project
Import Project (Eclipse ADT, Gradle, etc.)
-
MBH almost 8 yearsit worked ... i deleted all gradle folder and copied it from another project and pasted it, this worked for me
-
MBH almost 8 yearsthe first option which worked for me, i already use Android studio 2.2 which is STABLE version .. thank you
-
Ravindra Shekhawat over 7 yearslooks so stupid but ...... very true ..you can check in network operations in background for android studio :-D
-
Mark Amery over 7 yearsTook a couple of minutes for me to progress past this step.
-
CodeToLife about 7 years@MBH yes, as you said I just replaced that 'gradle' folder with one of a project I worked on recently.
-
MBH about 7 yearsI waited more than half an hour once. But it doesn't look like always it is network problem.
-
Muhammad Warraich almost 7 yearsSame here. It took 3 to 4 minutes. Just wait for it.
-
George Daramouskas almost 7 yearsThat seems to be the case, we should get informed of the operation somehow though...
-
MBH almost 7 yearsfrom where exactly ?
-
Nishchay Zacariah almost 7 yearsWindows + R, type in temp or %temp%
-
MBH almost 7 yearsI am a Mac user :( Thanks for sharing
-
diogo almost 7 yearsWhy did you then marked yours as the right if @lRadha has answered first?
-
Dat TT almost 7 yearsThanks! This works for me. The actual path is c:\users[username]\.gradle I ran a couplel of react-native projects before
-
Naman over 6 years@MBH Really? Your screenshots are of Windows 10
-
Liakat Hossain over 6 years@nmnsud everyone wanted to be a mac user coz of price!
-
Neon Warge over 6 yearsA definite progress bar and a progress message wouldn't hurt. But Google..........