发布网友
共2个回答
热心网友
路径确认写对了吗,有没有可能是/转义符的问题
热心网友
在判断前加:
if(!f.exists()){
f.mkdirs();
}