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 a Simple Android App (2014) Getting Started with Android Setting Up an Android Development Environment for Windows

Rebecca Bompiani
Rebecca Bompiani
16,948 Points

Gradle sync error: "Could not find any tools that matches..."

When trying to sync my gradle files, I keep getting the following error:

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

What's curious about this is that everything was running fine until today. Even previous code that was running before today has stopped working. I've reinstalled the SDK, and still no luck.

Any clues as to what might be going on?

Thanks in advance!

1 Answer

After seeing a post over on Stack Overflow, I changed it from 0.12.+ to 0.12.2 and rebuild the project successfully.

Rebecca Bompiani
Rebecca Bompiani
16,948 Points

Thanks, Josh! Worked like a charm.

For others in need of this fix, you'll find the line of code in the gradle folder, build.gradle file, dependencies --> classpath

Thanks again!