Skip to content Skip to sidebar Skip to footer

Problem When Unzipping

Hey, I'm trying to unzip a file using this class: public class Decompress { private String _zipFile; private String _location; public Decompress(String zipFile, String l

Solution 1:

Huh,

You're using the exact decompress class as I am and mine is working fine.

Are you 100% sure that your zipFile variable is accessing an actual file? Did you make sure to add the android.permission.WRITE_EXTERNAL_STORAGE to your manifest and your SDCard is not mounted to your computer?

If so you might try creating a File object using the zipFile path and run file.exists() just to be sure everything is set up as it should be. Good luck!


Post a Comment for "Problem When Unzipping"