I made a simple command line tool on PC for this. I repackaged original APK as storage, assuming it means no compression but I'm still getting error that it must be packaged with the stored method, regardless what zip utilities. What I am doing wrong?
Exception in thread "main" java.io.IOException: Entry must be packaged with the stored method: assets/test.apk
at bin.zip.DataMultiplexing.openEntryAsZipFile(DataMultiplexing.java:156)
at bin.zip.DataMultiplexing.collectChildren(DataMultiplexing.java:113)
at bin.zip.DataMultiplexing.optimize(DataMultiplexing.java:44)
at bin.zip.DataMultiplexing.optimize(DataMultiplexing.java:30)
at bin.Main.main(Main.java:19)
I made a simple command line tool on PC for this. I repackaged original APK as storage, assuming it means no compression but I'm still getting error that it must be packaged with the stored method, regardless what zip utilities. What I am doing wrong?