Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 403
pooja teotia Avatar asked Jul 08 '16 06:07

pooja teotia


1 Answers

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.

like image 149
Harshad Pansuriya Avatar answered Sep 20 '22 05:09

Harshad Pansuriya