一、工程文件的混淆
混淆文件下载:http://download.youkuaiyun.com/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.youkuaiyun.com/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了。
本文详细介绍了混淆Android工程文件的方法及步骤,并提供了混淆配置文件的使用指南;随后,介绍了如何进行APK文件的反编译,包括解压、定位关键文件等操作,最终通过使用特定工具打开反编译后的文件进行深入分析。

1993

被折叠的 条评论
为什么被折叠?



