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 trialahmed alghafli
3,446 PointsError:(17, 0) Gradle DSL method not found: 'runProguand()' Possible causes:<ul><li>The project 'Facts' may be using a v
when use the Gradle project sync, it told me that it's faild here are the errors that I got ?!!! please help>>>>!
Error:(17, 0) Gradle DSL method not found: 'runProguand()' Possible causes:<ul><li>The project 'Facts' may be using a version of Gradle that does not contain the method. <a href="open.wrapper.file">Open Gradle wrapper file</a></li><li>The build file may be missing a Gradle plugin. <a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
2 Answers
James Simshaw
28,738 PointsI am not sure this will help, but a quick google search of "gradle dsl method not found" returned a result to stackoverflow. Essentially, its saying that runProguard has been renamed to minifyEnabled in newer versions of Gradle. So you would need to change runProguard in your build.gradle file to minifyEnabled.
Xander Taylor
12,390 Pointsthe 'minifyEnabled' tip from James seems to be on point. However, I still had to remove/reinstall android studio and start a new project to get rid of this error message.
ahmed alghafli
3,446 Pointsahmed alghafli
3,446 Pointsthanks it helped