一、工程檔案的混淆
混淆檔案下載: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-18proguard.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了。