Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core]APP parsing error, and the overlay cannot parse #1748

Closed
w279287350 opened this issue Dec 14, 2022 · 4 comments · Fixed by #1804
Closed

[core]APP parsing error, and the overlay cannot parse #1748

w279287350 opened this issue Dec 14, 2022 · 4 comments · Fixed by #1804
Labels
bug Core Issues in jadx-core module

Comments

@w279287350
Copy link

w279287350 commented Dec 14, 2022

INFO  - loading ...
ERROR - Failed to parse '.arsc' file
jadx.core.utils.exceptions.JadxException: Error decode: resources.arsc
        at jadx.api.ResourcesLoader.decodeStream(ResourcesLoader.java:78)
        at jadx.core.dex.nodes.RootNode.loadResources(RootNode.java:173)
        at jadx.api.JadxDecompiler.load(JadxDecompiler.java:122)
        at jadx.cli.JadxCLI.processAndSave(JadxCLI.java:48)
        at jadx.cli.JadxCLI.execute(JadxCLI.java:36)
        at jadx.cli.JadxCLI.main(JadxCLI.java:20)
Caused by: java.io.IOException: Encountered unsupported chunk type TYPE_OVERLAY
at offset 0x5e0260
        at jadx.core.xmlgen.ResTableParser.parsePackage(ResTableParser.java:172)
        at jadx.core.xmlgen.ResTableParser.decodeTableChunk(ResTableParser.java:110)
        at jadx.core.xmlgen.ResTableParser.decode(ResTableParser.java:86)
        at jadx.core.xmlgen.ResDecoder.decode(ResDecoder.java:28)
        at jadx.core.dex.nodes.RootNode.lambda$loadResources$7(RootNode.java:173)
        at jadx.api.ResourcesLoader.decodeStream(ResourcesLoader.java:73)
        ... 5 common frames omitted
        
        
        and  Overlayable cannot be parsed
@w279287350 w279287350 added bug Core Issues in jadx-core module labels Dec 14, 2022
@w279287350
Copy link
Author

@jpstotz
Copy link
Collaborator

jpstotz commented Dec 22, 2022

@w279287350 It seems like the app upload was interrupted and therefore does not work.

@Ylarod
Copy link

Ylarod commented Mar 18, 2023

Same issue here.

com.google.android.apps.maps.apk.zip

Error decode arsc
java.io.IOException: Encountered unsupported chunk type TYPE_OVERLAY at offset 0x280000 
	at jadx.core.xmlgen.ResTableParser.parsePackage(ResTableParser.java:172)
	at jadx.core.xmlgen.ResTableParser.decodeTableChunk(ResTableParser.java:110)
	at jadx.core.xmlgen.ResTableParser.decode(ResTableParser.java:86)
	at jadx.core.xmlgen.ResTableParser.decodeFiles(ResTableParser.java:91)

@jpstotz
Copy link
Collaborator

jpstotz commented Mar 18, 2023

@Ylarod Thanks for providing a sample file. using that sample file I was able to update Jadx to parse/skip TYPE_OVERLAY chunks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Core Issues in jadx-core module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants