Android studio allway show "Gradle project syncing in progress"

After updating android studio Build number AI-141.1809159 version = 1.2 in Canary update, I can’t synchronize the gradle project and always show “Gradle project synchronization”

+5
source share
4 answers

Below are the steps I'm using (e.g. workaround)

  • Edit the root build.gradle file (adding a new line to the file will also do).
  • Save the file.
  • Restart the IDE (File-> Invalid Cache / Restart-> Restart Only). Gradle The synchronization notification in the process should disappear.
+11
source

I found that this is due to the fact that this plugin is used in AS:

'Android Studio Unit Test'

To disable this in AS 1.2, follow these steps:

File> Settings> Plugins> Disable Android Studio Unit Test

+2
source

The problem is solved, just update android sdk, it works for me.

+1
source

This happened to me twice and is due to one of the gradle files having a date in the future (it seems to crash in Android Studio). This is why simply adding space to the file and saving can fix the problem as described above. Or browse your project using the file system explorer of the operating system to find the file.

0
source

Source: https://habr.com/ru/post/1216172/


All Articles