
I removed that version then installed my old version which worked OK but the problem was still there :( I've created a new file (file name is gradle.properties) in C:\Users\username\.gradle then wrote these lines into it =true =true

Note: When I disconnect my Internet, gradle will finish as fast as possible The first delay is on Gradle: Resolve dependencies ':app:_debugCompile'.It happened when I connected to Internet.I did not do anything, I just downloaded the Canary version and ran it. Every time I want to create a new project or open a project or sync or import a new lib or dependency, gradle is taking too long to build - nearly 20 min.

Everything was OK, but when I downloaded Canary (2.1 p5), everything went wrong. I've been working with Android Studio (my current version 1.5) for 2 years.
