0

Version Info:

Android Studio -- 0.8.0

Gradle -- 2.0

Issue: When open Android Studio, the following information displays, hence it is not able to run the program.

Error:No cached version listing for com.android.tools.build:gradle:0.12.+ available for offline mode.

Chong Zheng
  • 171
  • 1
  • 6

1 Answers1

1

From : https://stackoverflow.com/a/24106285/1239966

  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.
Community
  • 1
  • 1
Shivam Verma
  • 7,973
  • 3
  • 26
  • 34