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 trialNoah Schill
10,020 PointsGradle build errors
Error:(15, 0) Gradle DSL method not found: 'runProguard()' Possible causes:<ul><li>The project 'MemeMaker' 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>
I fail the initial Gradle sync. This is the log. What should I do? I'm running Android Studio 1.1.0.
3 Answers
Wesley Seago
10,424 PointsIn your build.gradle file, change line 16 as follows:
Replace : runProguard false
With: minifyEnabled false
Then re-sync, clean and build.
JIHOON JUNG
10,927 PointsGreat, solved this error in s seconds. :D
johnhunter
12,964 PointsIn addition to Wesley's solution above, I also had to install SDK v 19, and build tools 20.0.0.
Pablo Rocha
10,142 PointsAlso, line 1 needs to be as follows:
``gradle apply plugin: 'com.android.application'
Benyam Ephrem
3,185 PointsBenyam Ephrem
3,185 PointsTry cleaning the project and sync your project with Gradle again.