Reputation: 357
I updated my android studio to the new version 2.3 and was asked to convert my project to match the new formats which I did. I was asked to update the gradle version too and I did. Now one eternity later it's still refreshing my project gradle. I've restarted it several times and I have active internet connection. Any suggestions
Upvotes: 12
Views: 8523
Reputation: 91
Updating the gradle path in
File > Settings > Build, Execution, Deployment > Gradle
worked for me. The problem occured after updating Android Studio.
Upvotes: 0
Reputation: 1257
If you have an failed for sync gradle. Such as; Gradle sync failed: Minimum supported Gradle version is 3.3. Current version is 3.2.
Upvotes: 0
Reputation: 5117
using default gradle wrapper and disconnecting from my corporate network to a 4G network solved my problem
Upvotes: 1
Reputation: 1570
This method works for Me :
Change Gradle Home Path as C:\Program Files\Android\Android Studio\gradle\gradle-3.2
To Open Gradle Home Setting :
Settings->Build,Execution,Deployment->Gradle->Gradle Home
Upvotes: 6
Reputation: 21
Could be caused by Microsoft Defender. Check if msmpeng.exe is running in task manager and exclude Android directory.
Upvotes: 2
Reputation: 887
It depends sometimes on what are you building. As Hamid said, it´s a must do working Offline, it greatly reduces times, or at least it did not that long ago.
Also checkout that you are not building google APIs that you are not using, be careful with google's play-services or maps, they sometimes take a bunch of time and maybe you are not using them.
If that's an option, install Android Studio in a SSD, don't buy one, but if you have it, consider moving it, it reduced my gradle about 90%.
Also, check this, a bit old, but may help.
Upvotes: 3
Reputation: 1394
File> Settings> Build, Execution, Deployment> Gradle> and check the Offline work
Upvotes: 0