java - TrueZip on Android, UnsupportedCharsetException: IBM437 -
i'm trying open zip file on android 4.3 emulator using truezip 7.7.3
the line
tarchivedetector ad = new tarchivedetector("myext", new zipdriver(iopoollocator.singleton));
throws java.lang.exceptionininitializererror
caused java.nio.charset.unsupportedcharsetexception: ibm437 @ java.nio.charset.charset.forname(charset.java:303) @ de.schlichtherle.truezip.fs.archive.zip.zipdriver.<clinit>(zipdriver.java:75) ... 16 more
is possible use truezip on android? need because java.util.zipfile on android old , cannot handle more 65536 files in zip archive.
truezip on android platform unsupported because platform misses or used miss essential classes, e.g. java.util.serviceloader
. regarding missing ibm437 character set: provider bundled truezip, serviceloader
class required find , load it. may try use jardriver
instead (which uses utf-8 instead of ibm437), i'm afraid run similar issues because truezip depends lot on serviceloader
class in order load kernel, drivers, extensions etc.
Comments
Post a Comment