charles2gan / GDA-android-reversing-Tool

the fastest and most powerful android decompiler(native tool working without Java VM) for the APK, DEX, ODEX, OAT, JAR, AAR, and CLASS file. which supports malicious behavior detection, privacy leaking detection, vulnerability detection, path solving, packer identification, variable tracking, deobfuscation, python&java scripts, device memory extraction, data decryption, and encryption, etc.
https://twitter.com/charles_gan1
Apache License 2.0
4.21k stars 526 forks source link

关于apk反编译重新打包后包名解析不对 #132

Closed dorry2015 closed 1 year ago

dorry2015 commented 1 year ago

利用apktool反编译apk修改包名后包名解析的还是修改前的包名,jadx解析没有问题 修改了反编译后的smali文件夹名字后gda解析的还是以前的包名,.smali文件本人也修改了的 如图 image image

SeeFlowerX commented 1 year ago

可能是因为AppData\Roaming\GDA下面有缓存导致的,试试清理下面这个文件夹的内容(当然这也可能导致一些GDA的设置、信息丢失,慎重操作)

charles2gan commented 1 year ago

利用apktool反编译apk修改包名后包名解析的还是修改前的包名,jadx解析没有问题 修改了反编译后的smali文件夹名字后gda解析的还是以前的包名,.smali文件本人也修改了的... 如SeeFlowerX所言,是缓存的原因,你可以到AppData\Roaming\GDA下找到apk同名的文件加格式如:apk文件名.apk_数字,把这个文件夹删除即可。

dorry2015 commented 1 year ago

确实是缓存问题