Skip to content Skip to sidebar Skip to footer

Gradle Connection Timed Out After Update Android Studio To 2.3

After I update android studio to 2.3, my old project is not opened in android studio shows me gradle error. And when I open a new project, that project is not build

Solution 1:

After the new update of android studio (2.3) this is a common bug.But heres the best solution to this.Once you get a message as gradle sync failed,then its as because your gradle file got bug. the solution is go to C:\Users\Admin.gradle\wrapper\dists\gradle-3.3-all\55gk2rcmfc6p2dg9u9ohc3hw9 here you can find a zip file : gradle-3.3-all.zip

delete all contents in that and download file from https://downloads.gradle.org/distributions/gradle-3.3-all.zip

paste this in 55gk2rcmfc6p2dg9u9ohc3hw9 folder. Then restart studio.It will be working perfectly.

If you have any other version of gradle you can find the corresponding file in https://services.gradle.org/distributions


Solution 2:

I found it my self now, its very easy Just need Edit "build.gradle.project" dependencies to 2.3.0 and edit file "gradle.wrapper.properties" , distributionUrl to "/gradle3.3-all.zip" and sync project


Post a Comment for "Gradle Connection Timed Out After Update Android Studio To 2.3"