Updated Android studio to 1.2.2 and the background process wont end.(Refreshing 'MemoryCards' Gradle project).
It has been more than an hour now and its still busy?
Is this normal and why is it taking this long? its a small app.
Here is my idea.log : https://www.dropbox.com/s/syf12m3lxbww5k7/idea.log?dl=0
Update:
Disabled my proxy settings in android studio and the refreshing process continued and showed me the following.
It failed at the download of the gradle zip :
So the reason I think that It takes this long it was trying to download the gradle zip file +- 60 Mb and my internet connection is slow...
So the process continues when I disable the proxy settings but then it cant download the gradle zip file... ? so it fails again.
Update :
I used another Internet source and it downloaded the gradle and the process continued.
Change gradle home directory to exist location.
In your terminal try :
Then invalidate caches and its works... It will redownload all libraries from internet and build successfully You can also delete build,.gradle,gradle folders to force re-cleaning
if gradle has downloaded correctly and you just have problem with this project, follow these steps:
Note: if android studio didn't restarted, kill it's process in Task Manager.
Some other solutions:
In my case it was a wrong path in the file->settings->tools->gardle .. just remove the path then apply.
Then restart android studio (you may need to end task)
If you are loading existing project into new Android studio then it's gradle library version that you have specified in your top level build.gradle file. Check version and move to latest or compatible version for android studio.