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

I am getting the following error with Gradle Build

FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring root project 'InteractiveStory'. > Could not resolve all dependencies for configuration ':classpath'. > Could not find any version that matches com.android.tools.build:gradle:0.12.+. Required by: :InteractiveStory:unspecified

Also (I think related is that in my .gradle files my dependencies are highlighted with the message that they cannot be enclosed in brackets?

Any ideas?

I got the same error in the basic "Fun Facts" project.

here is the link to my question on the forum

maybe there is currently a general error with this version?

in my case running File -> Invalidate caches / Restart and rebuild everything eventually worked out.

Thanks Asaf, this worked for me also cleared up an issue where it was finding my sdk since I changed the location and that must have been cached as well.