You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
actually running decode of arsc file twice is fine. First time needed to collect some info used during decompilation (like mapping to replace resource IDs with res names in code). And second time is lazy loading/generation of resource xml files. So second time is optional (not invoked in jadx-gui if user not open arsc file content).
issue was introduced in PR Moved AAB input to separate plugin #2165 by keeping parser instance in memory like a singleton, so second decode was adding arsc entries again.
I changed code to not store parser instance and also, just in case, to create entries storage right before decode to prevent possible duplication.
@pubiqq thank you for report, it was very helpful 👍
Issue details
This bug used to only increase parsing time, but now because of it and b85900a, resources are being generated with double entries.
Screenshot
Jadx version
cca706c
The text was updated successfully, but these errors were encountered: