一、工程文件的混淆
混淆文件下载:http://download.csdn.net/detail/lxq_xsyu/6328751
1、在根目录下添加progard.cfg文件
2、打开project.properties在底下添加proguard.config=proguard.cfg
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target.
target=android-18
proguard.config=proguard.cfg
如果你的项目中没有添加其他的jar包这样就ok了。
二、apk文件的反编译
工具下载:http://download.csdn.net/detail/lxq_xsyu/6329011
1、解压dex2jar.zip文件
2、解压apk文件
3、将classes.dex文件放到解压后dex2jar包内dex2jar.bat文件所在的文件夹
4、ctrl+r
5、输入cmd
6、进入到控制台,并进入到dex2jar.bat所在目录执行 dex2jar.bat classes.dex
7、将该目录下的classes_dex2jar.jar文件用jd-gui.exe打开
这样就ok了。