新增对壳所有字符串加密的操作(还没做UI)

This commit is contained in:
2020-05-29 17:31:53 +08:00
parent 572a74f97a
commit 85eec17ee6
6 changed files with 306 additions and 73 deletions

View File

@@ -298,7 +298,15 @@ public class Tools {
String exec="java -jar "+dx+" --dex --output="+outName+" "+inName+"";
System.out.println("java to dex:"+exec);
Process process=Runtime.getRuntime().exec(exec);
BufferedReader reader=new BufferedReader(new InputStreamReader(process.getErrorStream()));
System.out.println("read");
String tmp=reader.readLine();
while (tmp!=null){
System.out.println(tmp);
tmp=reader.readLine();
}
process.waitFor();
System.out.println("打包完成");
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();