Error: Could not open the zip file. The gradle dependency cache may be corrupted (this sometimes happens after a network connection timeout).

Error: Could not open the zip file. The gradle dependency cache may be corrupted (this sometimes happens after a network connection timeout.)

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.parse.bolts:bolts-android:1.+'
    compile 'com.parse:parse-android:1.+'
    compile 'com.android.support:appcompat-v7:23.2.0'
    compile 'com.android.support:recyclerview-v7:23.2.0'
    compile 'com.facebook.android:facebook-android-sdk:4.0.0'
    compile 'com.android.support:design:23.2.0'
    compile 'com.android.support:support-v4:23.2.0'
}
+1
source share
3 answers

I had the same problem when I upgraded my android studio to version 2.2.3 from version 2.1. Some time later, after trying the project-> right-click → open the module settings-> project

1) Gradle: 2.14.1
2) Android- : 2.2.3
3) Android: jcenter
4) : jcenter

+15

gradle . , gradle "C:/Users/username/.gradle/".

  • goto "C:/Users/MickeyMouse/.gradle/"
  • .
  • open android studio gradle .
  • gradle .

* , gradle - " gradle () -

+1

, NDK Android Studio.

→ → SDK → Android NDK

0

Source: https://habr.com/ru/post/1015755/


All Articles