title: Unzipping zip file gives "java.util.zip.ZipException: Cannot read version" or "java.util.ZipException Cannot read local header version 45"
body: <p>I would like just to extract a normal zip file, but it keeps failing.
  This is my code I'm using now:</p>
  
  <pre><code>private File downloadPath = new File(Environment.getExternalStorageDirectory() + "/Test/file.zip");
  private File unzipLoc = new File(Environment.getExternalStorageDirectory() + "/Test/");
          FileInputStream fin = new FileInputStream(downloadPath); 
          ZipInputStream zin = new ZipInputStream(fin);
          ZipEntry ze = null; 
          while ((ze = zin.getNextEntry()) != null) 
          { 
              FileOutputStream fout = new FileOutputStream(unzipLoc + ze.getName()); 
              for (int c = zin.read(); c != -1; c = zin.read()) 
              { 
                  fout.write(c); 
              } 
  
              zin.closeEntry(); 
              fout.close(); 
          } 
          zin.close(); 
  </code></pre>
  
  <p>It fails on the 'zin.getNextEntry()' part.
  Error: java.util.zip.ZipException: Cannot read version
  Any ideas? Thx!</p>