1.下载dex2jar和jd-gui工具
下载dex2jar与jd-gui工具
2.解压dex2jar和jd-gui工具
# ./dex2jar.sh ~/xxx.apk //会反编译出classes_dex2jar.jar包
注意:或者把dex2jar-2.0目录添加到系统路径中
# sudo cp -rf dex2jar-2.0/ /usr/local/bin
# dex2jar.sh test.apk
3.打开jd-gui,打开classes_dex2jar.jar包就可以查看apk源码
#./jd-gui //运行jd-gui