Android 使用Zip4j库在游戏控制台中发出警告错误如何解决?

Android 使用Zip4j库在游戏控制台中发出警告错误如何解决?,android,unzip,google-play-console,Android,Unzip,Google Play Console,我使用库将文件解压到内部应用程序文件夹(即getApplicationInfo().dataDir+“/databases”),该应用程序发布在play store上,这是一个“修复Android中的Zip路径遍历漏洞”的控制台 如何解决此问题或解压受密码保护的zip文件的任何其他LIB。谢谢 这里是用于提取受密码保护的zip文件的代码 try { net.lingala.zip4j.core.ZipFile zipFile = new net.lingala.z

我使用库将文件解压到内部应用程序文件夹(即
getApplicationInfo().dataDir+“/databases”
),该应用程序发布在play store上,这是一个“修复Android中的Zip路径遍历漏洞”的控制台

如何解决此问题或解压受密码保护的zip文件的任何其他LIB。谢谢

这里是用于提取受密码保护的zip文件的代码

   try {
            net.lingala.zip4j.core.ZipFile zipFile = new net.lingala.zip4j.core.ZipFile(zipFilePath);
            if (zipFile.isEncrypted())
                zipFile.setPassword(pass.toCharArray());
            File des = new File(unzipAtLocation);
            boolean isCreated = true;
            if (!des.exists())
                isCreated = des.mkdirs();
            if (isCreated)
                zipFile.extractAll(unzipAtLocation);
        } catch (Exception e) {
            Log.e("Unzip zip", "Unzip exception", e);
        }

Zip4j的版本
2.3.1
中已修复此问题

任何有相同问题的人都应该将库的版本升级到2.3.1及更高版本