Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
拡張ファイルを実装しています。私はこの回答からzipファイルを読み取るためのテクニックを使用しています。私が得ている唯一のエラーはIOUtilsにあります。これは、IOUtilsを解決できないことを示しています。私のプロジェクトのAPIレベルは3.0以上です。
これがllineです:
**IOUtils**.copy(inputStream, outputStream);
IOUtilsクラスは、ApacheCommonsライブラリとして利用できます。おそらく、jarをダウンロードして、使用する前にlibsディレクトリ内に配置する必要があります。
または、build.gradleに次の行を追加して、プロジェクトを同期します。
compile 'commons-io:commons-io:2.5'