计算文件夹的大小

添加gradle依赖:org.apache.commons.io
FileUtils.sizeOfDirectory(new File(path));

原文地址:https://www.cnblogs.com/sam-cheng/p/9012798.html