首先参考比较近的文章,郭神的两篇
http://blog.csdn.net/guolin_blog/article/details/49738023
http://blog.csdn.net/guolin_blog/article/details/50451259
步骤一
先查看apk的资源文件,用到工具apktool,因为之前没看清使用说明,也懵逼了一会儿。
https://ibotpeaches.github.io/Apktool/install/
Windows:
- Download Windows wrapper script (Right click, Save Link As
apktool.bat
) - Download apktool-2 (find newest here)
- Rename downloaded jar to
apktool.jar
- Move both files (
apktool.jar
&apktool.bat
) to your Windows directory (UsuallyC://Windows
) - If you do not have access to
C://Windows
, you may place the two files anywhere then add that directory to your Environment Variables System PATH variable. - Try running apktool via command prompt
对应下载apktool.bat和apktool.jar两个文件,注意重命名.jar的文件,不要版本号。
在当前文件夹中,打开cmd命令窗口,输入命令行 apktool d 文件名.apk,稍等一会儿就可以了
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\admin\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\admin\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...