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 trialRebecca Bompiani
16,996 PointsGradle 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
Josh English
1,880 PointsAfter seeing a post over on Stack Overflow, I changed it from 0.12.+ to 0.12.2 and rebuild the project successfully.
Rebecca Bompiani
16,996 PointsRebecca Bompiani
16,996 PointsThanks, 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!