Discover APK Differences Effortlessly!!
APK Compare Tool is a shell script that allows developers to compare two APK files and identify the differences in their resources and smali code. The script uses apktool and diff tool to decompile and compare the APK files based on the user's input.
The APK Compare Tool is a useful tool for developers who want to compare APK files and identify differences in resources and smali code. It is easy to use, flexible, and provides color-coded output for quick identification of changes.
Apktool
and diff tool
. Make sure you have both of these tools in your system. Installing difftool on a Linux-based operating system is straightforward as it usually comes pre-installed. However, you'll need to install Apktool manually. If you're using Termux(F-Droid) then you can clone this repository & install apktool manually.git clone https://github.com/saitamasahil/APK-Compare-Tool.git
cd APK-Compare-Tool
chmod +x compare.sh && ./compare.sh
Note: If your terminal gives "Permission denied" error then run the tool by typing
bash compare.sh
.
The APK Compare Tool automatically saves logs of the comparison results whenever an APK comparison is performed. To view the logs in color-coded differences follow these instructions.
To read saved logs in Terminal, Type cat <name_of_log_file>
.
To read saved logs in VS Code, Download this extension. Now open log file in VS Code, Press Ctrl+Shift+P
to access Command Palette. Search ANSI in Command Palette. Select ANSI Text: Open Preview
. This will open a preview page where you will be able to see changes in color-coded differences.
Brought to you by saitamasahil!