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 trial

Android Publish an Android App Publishing on Google Play Removing Log Calls

Error:(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

I 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.

thanks it helped

the '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.