Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialpiyush 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,390 PointsXander Taylor
12,390 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: