DexDump 显示与操作指定Dex文件信息的工具
dexDump 是一个用于显示指定 dex文件 信息的工具。下面是一个基本示例:
public class Main {
public static void main (String[] args) throws Exception {
System.out.println(\"hello world => \" + new Main().monster(\"128\", \"512\"));
}
public int monster (String a, String b) {
return Integer.parseInt(a) + Integer.parseInt(b);
}
}
执行命令:
[monster@localhost]~/Develop/dexDump% dx --dex --output=hello.dex Main
下载地址
用户评论