Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - get error: java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor

I'm using Android Studio. I get this error at compilation:

java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor

What does it mean.

like image 449
intrepidis Avatar asked Sep 16 '25 10:09

intrepidis


1 Answers

One of the jar library files has been compressed in an unusual way.

Decompress the offending jar archives (you may have to rename to .jar to .zip before you can do this). Then recompress (I use 7-Zip archiver). Make sure you compress as zip, use compression level "store", and make sure the folder hierarchy remains the same. Remember to rename .zip back .jar.

like image 79
2 revsChris Nash Avatar answered Sep 18 '25 08:09

2 revsChris Nash