【发布时间】:2014-07-02 07:21:33
【问题描述】:
我做了this 的问题,我看到存在一个名为 ZipInputStream 的构造函数:
ZipInputStream(BufferedInputStream, Charset)
但调试器向我抛出错误:
ZipInputStream(BufferedInputStream, Charset) is undefined
给我建议:
remove the argument to match ZipInputStream(InputStream)
我已经安装了最新的JDK 和 JRE 7,但我仍然遇到同样的错误。
我终于在这里解决了问题:
Extracting file with ZipInputStream error UTFDataFormatException
【问题讨论】:
-
看起来你已经导入了不同的类。确保你已经导入了
java.nio.charset.Charset
标签: java android zipinputstream