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 Android Data Persistence Introduction to Data Persistence Introduction to the Starter Kit

Ana Sosa
Ana Sosa
4,496 Points

The project canΒ΄t run

My Android Studio Version: 1.1.0

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="openGradleSettings">Gradle settings</a></li><li>The build file may be missing a Gradle plugin. <a href="apply.gradle.plugin">Apply Gradle plugin</a></li>

1 Answer

Jourdan Dixon
Jourdan Dixon
4,752 Points

I believe the runProguard was replaced with minifyEnabled. Open your app gradle file and the build types section should look something like this. I had the same problem and it worked for me.

buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }

Ana Sosa
Ana Sosa
4,496 Points

Thank you Jourdan, you fixed my problem :*