liuxue
2021-07-29 7e2df20ccc7cdfb528d309369460a4f3d66afdf1
Project/js_sdk/src/main/java/com/secondworld/univeralsdk/FileUtil.java
@@ -109,6 +109,13 @@
        String _originalPath = "android" + File.separator + fileName;
        String _destPath = context.getExternalFilesDir(
                "").getAbsolutePath() + File.separator + fileName;
        String _destDir = _destPath.substring(0, _destPath.lastIndexOf('/') + 1);
        File _file = new File(_destDir);
        if(!_file.exists())
        {
            LogUtil.i(TAG,"单独拷贝 => 不存在指定路径: " + _destDir + ", 这里创建...");
            _file.mkdir();
        }
        try
        {
            InputStream _is = context.getAssets().open(_originalPath);