Welcome to the Treehouse Community
Looking to learn something new?
piyush arora5,735 Points
Gradle Sync Failed!!
So i am getting this error...Gradle Sync Failed...and in the messages pane it shows... Error:Could not run build action using Gradle installation 'C:\Program Files\Android\Android Studio\gradle\gradle-2.2.1'
I built the project yesterday and it worked fine...Not able to figure out the problem...Kindly help!!
Mohammed Fahad Kaleem998 Points
Hello, Follow these steps...
- Uninstall Android Studio
- Go to C:\Users\username and delete the .gradle folder. Infact delete all the folders related to Android Studio
- Install Android Studio again.
The problem should be solved. I had the same issue and I tried uninstalling and installing Android Studio several times but it didn't help. Deleting the .gradle folder and other Android Studio related folders and then installing back solved the problem.