a-rohim
a-rohim

Reputation: 505

Android studio alway show "Gradle project sync in progress"

After update android studio Build number AI-141.1809159 version=1.2 in Canary update, i can't sync gradle project and always show "Gradle project sync in progress"

Upvotes: 16

Views: 31274

Answers (6)

r_a_f
r_a_f

Reputation: 649

Disable VPN if you have it active.

Upvotes: 0

Saurav Solanki
Saurav Solanki

Reputation: 309

wait for some time, if you are using somebody else repo. It depends on the projects buildings. You might see new changes like file path, project-level dir appearing, etc.

Upvotes: 0

user3078869
user3078869

Reputation: 9

This happened to me twice and had to do with one of the gradle files having a date in the future (a glitch in Android Studio it seems). That is why just adding a space to the file and saving can fix the problem, as described above. Or go through your project with the operating system file explorer to find the file.

Upvotes: 0

user3521637
user3521637

Reputation: 1652

I found this was due to this plugin being used in AS:

'Android Studio Unit Test'

To disable this in AS 1.2 do the following:

File > Settings > Plugins > Android Studio Unit Test disable

Upvotes: 2

vijay_t
vijay_t

Reputation: 786

Following are the steps that I use (Kind a workaround),

  1. Edit the root build.gradle file (adding a new line to file will also do).
  2. Save the file.
  3. Restart the IDE (File->Invalid Cache/Restart->Just Restart). Gradle Sync in progress notification should go away.

Upvotes: 27

a-rohim
a-rohim

Reputation: 505

Problem is solved, just update android sdk, it's work for me.

Upvotes: 1

Related Questions