Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

ZipException: Version required to extract this entry not supported (788) and proposed fix

$
0
0

When using SharpZipLib to unzip some apk files like Facebook, it throws an exception "Version required to extract this entry not supported (788)". It is the same problem as described in a previous article "Library cannot extract this entry. Version required is XXX. Possible Fix", but issued by a different function ZipFile.TestLocalHeader.

I have checked the latest release of SharpZipLib, which fixed the issue raised in that article but not this one. So I fixed it by replacing line "short extractVersion = ( short )ReadLEUshort();" with "short extractVersion = ( short )ReadLEUshort() & 0x00ff;" in function TestLocalHeader of ZipFile.cs.

Would you take a look at this issue and see if you will fix it in the next release? Thanks.


Viewing all articles
Browse latest Browse all 1764

Trending Articles