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 Creating the Fun Facts Project

Haitham Bweirat
Haitham Bweirat
299 Points

when 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

It may be a matter of proxy settings. Try that:

  1. Uncheck "Offline work" in File>Settings>Gradle>Global Gradle Settings
  2. Resync the project, for example by restarting the Android Studio
  3. Once synced, you can check the option again to work offline.