Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

piyush arora
5,735 PointsGradle 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!!
2 Answers

Mohammed Fahad Kaleem
998 PointsHello, 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.

piyush arora
5,735 PointsThanks Mohammed for the help!!
Xander Taylor
12,389 PointsXander Taylor
12,389 Pointsthis did not eliminate the sync error for me. Any other suggestions? After doing it I am still getting the error. The message is:
"Gradle DSL method not found:'runProguard()' Possible causes: