I have two apks, which basically are exactly the same but their size differs by 1 KB. I would like to check what this difference is. Is there any tool available for this purpose?
When i unzip the apk's , the size turns out to be exactly the same.
这就是你要找的apkanalyzer
APK 文件本质上是一个存档,因此尝试在您感兴趣的 apk 上运行zipcmp命令。它显示存档中不同文件的大小和哈希值。
Here is how to compare the content of apks.
Unzip apks and compare META-INF/MANIFEST.MF
files - it will show which file differs. If none, the zip structure differs (not suremaybe zip headers?).
apktool decode both apks to folders - it will result in files with decoded resources, manifest and classes to folders.
directory compare (ie meld ) bot folders to investigate the difference in file content.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.