Android 反编译Apk提取XML文件

Apktool

 

https://ibotpeaches.github.io/Apktool/install/

下载地址:Apktool

https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.3.3.jar

打开cmd终端:java -jar apktool_2.3.3.jar  d  xxx.apk

示例:

D:TOOLAndroid反编译工具【全】2018>java -jar apktool_2.3.3.jar d PackageInstaller.apk
I: Using Apktool 2.3.3 on PackageInstaller.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
S: WARNING: Could not write to (C:UserszhAppDataLocalapktoolframework), using C:UserszhAppDataLocal
Temp instead...
S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the defa
ult storage directory is unavailable
I: Loading resource table from file: C:UserszhAppDataLocalTemp1.apk
I: Renamed manifest package found! Replacing com.samsung.android.packageinstaller with com.android.packageinstaller
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

D:TOOLAndroid反编译工具【全】2018>

原文地址:https://www.cnblogs.com/onelikeone/p/9310458.html