Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

failed to open zip file gradle dependency cache may be corrupt

When I updated android studio i got this error. Creating a new project has no issue. I cant build my existing project.

Showing error

I ve working internet and this error not fixing when i click re-download. How can i resolve this issue? I ve tried many method found on internet but no luck.

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.0.1'
compile 'cz.msebera.android:httpclient:4.4.1.1'
compile 'com.mcxiaoke.volley:library:1.0.18'
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'com.github.florent37:materialtextfield:1.0.5'
compile 'com.googlecode.json-simple:json-simple:1.1'
compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
compile 'com.rengwuxian.materialedittext:library:2.1.4'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.github.PhilJay:MPAndroidChart:v3.0.1'
compile 'com.github.sundeepk:compact-calendar-view:1.9.8'
compile 'com.github.bumptech.glide:glide:3.7.0'
}
like image 807
sony Avatar asked Dec 19 '25 00:12

sony


1 Answers

Delete wrapper folder in the gradle from the project directory.

like image 162
Sebastian Avatar answered Dec 20 '25 12:12

Sebastian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!