Chong Zheng
Chong Zheng

Reputation: 171

How to successfully sync in Android Studio?

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.

Upvotes: 0

Views: 4938

Answers (1)

Shivam Verma
Shivam Verma

Reputation: 8023

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.

Upvotes: 1

Related Questions