android6.0没法创建目录,怎么办

2025-04-13 22:07:34
推荐回答(1个)
回答1:

File dir = new File(DbConfig.BASE_PATH);
if (!dir.exists()) {
dir.mkdirs();
}