'Stuck at 'Gradle project sync in progress...' message in android studio version 1.2.2
I am using android studio version 1.2.2 and working on some old project. I keep on getting this message on top of my file as shown in image below, due to which I can't write any code, build apk. I am stuck.
Also in the background, 'refreshing gradle project' process keeps on working.
Please help me out of it!

Error log: see this link for error log file: https://www.dropbox.com/s/4ys2ar83nli6w83/idea.log?dl=0
also, before this error, I got stuck at some other problem as shown in image below. I just got out of it somehow but don't if the issues are correlated or not.

Solution 1:[1]
Have you tried to delete .gradle folder from C:\Users\<user>\ Directory.
It will download new gradle package.
Its working for me. May helpful to you also.
Solution 2:[2]
I had simular issue lately where i created a new Kotlin Android project and when selecting the Fragment/Acivity xml-files, i got the same error Gradle project snyc in progress... (Android Studio Version 4.2.1)
Simply restarting the PC solved the issue for me
Solution 3:[3]
This might be because you don't have a reliable fast internet connection! In the first project the project is building ie, it would fetch data from your dependencies in build.gradle and try to compile and build them before you can work on your project. The more the dependencies in your project, the more time it'd take to build. Although on a fast computer with a fast internet connection, it shouldn't take you more than 10s (on an average sized project).
In the 2nd screenshot, it seems that the Android SDK is being downloaded. That is very important for Android development. You cannot proceed with android development if you dont have the sdk setup.
Both of them are independent problems.
You might want to take a look here.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Pratik Butani |
| Solution 2 | |
| Solution 3 | Community |
