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
INFO - output directory: framework-res-14
INFO - loading ...
INFO - Loaded classes: 0, methods: 0, instructions: 0
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:117)
at jadx.gui.JadxWrapper.open(JadxWrapper.java:65)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: type chunk, res0, expected: 0x0, actual: 0x1, offset: 0xb0b196
at jadx.core.xmlgen.ParserStream.throwException(ParserStream.java:118)
at jadx.core.xmlgen.ParserStream.checkInt8(ParserStream.java:103)
at jadx.core.xmlgen.ResTableParser.parseTypeChunk(ResTableParser.java:253)
at jadx.core.xmlgen.ResTableParser.parsePackage(ResTableParser.java:162)
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)
... 6 common frames omitted
According to aosp13 ResourceTypes.h, these two fields should be flags and reserved instead of res0 and res1
@Ylarod Thank you very much for this sample. It contains multiple structures we not yet support in Jadx. I will update our resource parsing code to support it.
According to aosp13 ResourceTypes.h, these two fields should be
flags
andreserved
instead ofres0
andres1
Apk can be found -> framework-res-14.apk
The text was updated successfully, but these errors were encountered: