I updated my android studio few days ago to version 2.1 and now whenever I open a project in it or import a project it says in the bottom refreshing 'project name' gradle project I waited four hours for it to refresh but it not moving further help me out with this because i need my android studio normal any help would be much appreciated thank you in advance.
Resolution is simple. Open the "Android SDK Manager", update all packages and then restart your Android Studio. After that you project should compile without any issues.
I experienced a similar problem after updating my android studio and fixed it by pressing ctr+alt+s then selecting the gradle tab and fixing the location of my local gradle distribution. somehow after the update the location changed from the correct
"D:/Program Files/Android/Android Studio/gradle/gradle-2.14.1" to
"D:/Program Files/Android/Android Studio/gradle"
Try deleting all the .lock & .lck Files from .gradle directory from your home folder and rebuild
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With