I have a synchronization error in Android Studio.
I Use: 1.0.2 version from canary channel.
Gradle: I tried with version 2.2.1(downloaded from https://www.g
Sorry for a late answer but I hope it will still be useful. I faced the same problem and deleting .gradle directories didn't help.
Try to reinstall your JDK. In my case I uninstalled my JDK 1.7.0_60 (x64) and JDK 1.8.0_5 (x86). Then I installed JDK 1.8.0_45 (x64) and the problem has gone. HTH.