You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Sorry, English is not good. my zip4j version is 2.11.5, OS is windows 11, jdk 1.8,here is the code
ZipParameters zipParameters = new ZipParameters();
zipParameters.setRootFolderNameInZip("lib");
ZipFile zipFile = new ZipFile(apkPath);
zipFile.addFolder(new File(myFolder), zipParameters);
the zipfile already exist the "lib" folder,some files like "lib/aa.txt" (the folder that i added did not have this files),but after zipFile.addFolder,the whole "lib" folder files was deleted, only the files that I added was lefted in zipfile.
what should I do to not delete the "lib" folder files that already exist in zipfile.
The text was updated successfully, but these errors were encountered:
Hello Sorry, English is not good. my zip4j version is 2.11.5, OS is windows 11, jdk 1.8,here is the code
the zipfile already exist the "lib" folder,some files like "lib/aa.txt" (the folder that i added did not have this files),but after
zipFile.addFolder
,the whole "lib" folder files was deleted, only the files that I added was lefted in zipfile.what should I do to not delete the "lib" folder files that already exist in zipfile.
The text was updated successfully, but these errors were encountered: