Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ricky Sparks
22,249 PointsAndroid Fun Fact Gradle error? can't find answer on stackoverflow?
3 Answers

Andrew West
3,245 PointsIt's been a few months since doing any Android development and I got this error after updating Android Studio. It looks like the runProguard() function was renamed to minifyEnabled() at some point.
On line 16 replace "runProguard true" with "minifyEnabled true"

Nicolas Hampton
44,626 PointsI've noticed that sometimes if I'm following along and type something independently from the autofill, I won't have the necessary package dependencies added, since we rely on that in this course a lot. Try deleting the line, then finishing it partially, hovering over the unfinished text and hitting ctrl+enter to have the autofill add any packages the method needs automatically. Let me know if that works for you, I see almost no other difference in your code, except mine is set to false, most likely because I haven't got to that lesson in the course.

Ricky Sparks
22,249 PointsThanks guys :D
Jeff Janes
8,033 PointsJeff Janes
8,033 PointsIf you remove line 16...
runProguard true
...does it run then?