Android创建自定义文件目录

邢帅杰 / 2023-08-10 / 原文

需要在自己的安装包下
String dir = "/data/data/com.jay.myappstudy/download";
        File path = new File(dir);
        if (!path.exists()) {
            path.mkdir();
        }