pooja teotia
pooja teotia

Reputation: 97

Gradle sync failed: Could not determine artifacts for com.android.support:recyclerview-v7:24.0.0

I am unable to sync my build.gradle the below error is showing

Gradle sync failed: Could not determine artifacts for com.android.support:recyclerview-v7:24.0.0: No cached version available for offline mode

Upvotes: 8

Views: 13601

Answers (2)

Mark Shen
Mark Shen

Reputation: 346

Setting->Build,Execution,Deployment->Build tools->gradle, disable offline work, click ok then.

Upvotes: 0

Harshad Pansuriya
Harshad Pansuriya

Reputation: 20950

To solve this use this way.

  1. Uncheck Offline work in Android Studio

    go this way

    File->Settings->Build, Execution, Deployment->Build tools->Gradle.

  2. Resync the project, by restarting the Android Studio.

  3. Once synced, you can check the option again to work offline.

Upvotes: 9

Related Questions