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
Mohit Vijay
315 Pointsgradle 'funfacts' project refresh failed
Error:Could not download artifact 'com.android.tools.build:gradle:0.12.2:gradle.jar': No cached version available for offline mode. how to fix this error please please told me .
4 Answers
George Pirchalaishvili
3,747 PointsOk try closing android studio and than go to user home directory and rename .gradle folder to something else. Than turn on studio again and rebuild project.
George Pirchalaishvili
3,747 PointsWell first of all double check if you have internet connection. Than you can try going Preferences->Gradle->Offline work and uncheck it
Mohit Vijay
315 Pointsi have done this but nothing happened
Mohit Vijay
315 Pointsoh yes it works thanks for your .it is highly appreciating
George Pirchalaishvili
3,747 PointsGeorge Pirchalaishvili
3,747 PointsWell first of all double check if you have internet connection. Than you can try going Preferences->Gradle->Offline work and uncheck it