IOUtils异常的Andr​​oid异常、IOUtils、oid、Andr

2023-09-07 04:14:46 作者:错在深情

我实施扩展文件。我使用的技术来读取zip文件从这个回答。每一件事精我得到的唯一错误是IOUtils。它说IOUtils不能得到解决。我的项目API级别为3.0以上。

下面是lline:

  ** ** IOUtils复印件(的InputStream,OutputStream的)。 

解决方案

IOUtils类可作为Apache的共享库。也许你需要下载的罐子,并把它的库目录中,然后才能使用它。

I am implementing Expansion Files . I use technique to read zip files from this answer. Every thing fine the only error i am getting is on IOUtils. Which says IOUtils cannot be resolved. My project api level is 3.0 and above.

Here is the lline :

 **IOUtils**.copy(inputStream, outputStream);

解决方案

IOUtils class is available as Apache Commons library. Probably you need to download the jar and put it inside the libs directory before you can use it.