I am trying download zip file to SD card. I download it correctly, but when I open downloaded file (with ZipFile) I get this ZipException (\"Central Directory Entry not found\")
Auto-answer: The problem was that HTTP request use Accept-Encoding: gzip.
The server returned an already compressed file and download it, decompress it, removing part of the header.
Unfortunately, 7zip opened correctly (probably, not check headers), but Android not open file (probably, check headers).
In short: Be careful, and check correctly file-encoding with some files.