jadx icon indicating copy to clipboard operation
jadx copied to clipboard

[core] decompilation standalone is ok but with other can't decomplied

Open dvdface opened this issue 1 year ago • 1 comments

Checks before report I have checked FAQ, couldn't find solution

Describe error I am analyzing Wechat apk. I found some class couldn't decompiled, there were blank in Code, Simple, Fallback tab, and I could see Smali code in smali tab. But if I open another Jadx-GUI, drag this Smali file into it, Jadx-GUI can decompile it correctly. What's wrong ?

Because of limitation of network , I can't upload Apk file and screenshot right now , I will give it later.

Note: GitHub don't allow attach files with .apk extension, but you can change extension by adding .zip at the end :)

dvdface avatar Apr 27 '23 01:04 dvdface

This might be caused by inlining of anonymous or inner classes. Workaround for anonymous classes inline is to disable corresponding option, i.e. Inline anonymous classes (--no-inline-anonymous for jadx-cli). For inner classes move, there is no similar option yet, follow #1817 for updates. Anyway, you shouldn't be able to open such classes, so this issue must be fixed.

skylot avatar Apr 28 '23 21:04 skylot