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 Build an Interactive Story App (Retired) User Input Introducing ImageViews

pietro capriata
pietro capriata
18,066 Points

Problem when import project:

Error:(16, 0) Gradle DSL method not found: 'runProguard()' Possible causes:<ul><li>The project 'InteractiveStory' 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

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Looks like the latest update to Android Studio is causing a bit of minor trouble with a few things. Check out this solution from StackOverflow: http://stackoverflow.com/a/27107444/475217

Were you trying to import the project files? I may need to update them if this is an issue.

Heather Spence
Heather Spence
5,356 Points

In app/build.gradle change runProguard to minifyEnabled. Save then do Build...Clean Project.