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 trialHaitham Bweirat
299 Pointswhen I try to finish building the app , I keep getting an error
when I try to finish building the app , I keep getting this error " Error:No cached version listing for com.android.tools.build:gradle:0.12.+ available for offline mode. "
how can I solve this ??
1 Answer
Kristian Terziev
28,449 PointsIt may be a matter of proxy settings. Try that:
- Uncheck "Offline work" in File>Settings>Gradle>Global Gradle Settings
- Resync the project, for example by restarting the Android Studio
- Once synced, you can check the option again to work offline.