修复穿山甲demo存在时不获取路径的BUG

自动打包程序新增批量打包广告源SDK
配置文件manual字段新增data和end字段,data为添加的内容,end为检测到结束的表示,意思是从find到end这一段由data替换
This commit is contained in:
2020-03-10 17:24:19 +08:00
parent 4e2efcc143
commit 561177d0f4
4 changed files with 134 additions and 52 deletions

View File

@@ -231,6 +231,8 @@ public class CsjTools {
if (new File(csjFile.getName().replace(".apk", "")).exists()) {
System.out.println(">?>>"+new File(csjFile.getName().replace(".apk", "")).getAbsolutePath());
unPackageCSJ = true;
csj_Path = new File(csjFile.getName().replace(".apk", "")).getAbsolutePath();
csj_res = csj_Path + File.separator + "res" + File.separator + "values";
}
SmaliUtils utils = new SmaliUtils();
// Tools.deleteFiles(new File("").getAbsolutePath() + File.separator + new File(csjPath).getName().replace(".apk", File.separator));