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

gradle project sync failed in android studio 1.0 RC4

Hi , I get this error after updating to latest version of android studio . Can someone give a solution ?

Gradle project sync failed . Basic functionality (e.g. editing , debugging) will not work properly

Gradle DSL method not found : 'runProguard()' Possible causes :

Error:(16,0) - the project 'Blog Reader' may be using a version of gradle that does not contain that method - th buil file may be missing a Gradle plugin

3 Answers

I had this issue as well after updating. You need to change your build.gradle file where it says 'runProguard' to 'minifyEnabled'. For more detail check out this stackoverflow post: http://stackoverflow.com/questions/27078075/gradle-dsl-method-not-found-runproguard

Thank you! I tried just changing the above snippits, but still got an error. I copied and pasted the entire block from stackoverflow and got it to update correctly.

that worked for me too . Thanks for answering

I keep getting this message:

Error:Could not find any version that matches com.android.tools.build:gradle:0.12.+. Required by: :TakingInputs:unspecified

Dunno if anyone could help me out with this?