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] Jadx on AndroidMainFest.xml decompilation issue of the APK #2290

Open
csasd4234234 opened this issue Oct 2, 2024 · 3 comments
Open

Comments

@csasd4234234
Copy link

Issue details

When I use jadx to decompile some apks, I find that the AndroidMainFest.xml cannot be parsed correctly, and when I perform dynamic debugging of the apk, jadx prompts not found app package. But I use GDA and JEB to parse AndroidMainFest.xml files normally.

Relevant log output or stacktrace

Error decode manifest
java.io.IOException: Decode error: startNS's attributeSize is not 0x14, position: 0x67fc
	at jadx.core.xmlgen.CommonBinaryParser.die(CommonBinaryParser.java:39)
	at jadx.core.xmlgen.BinaryXMLParser.parseElement(BinaryXMLParser.java:269)
	at jadx.core.xmlgen.BinaryXMLParser.decode(BinaryXMLParser.java:132)
	at jadx.core.xmlgen.BinaryXMLParser.parse(BinaryXMLParser.java:87)

Provide sample and class/method full name

Error decode manifest
java.io.IOException: Decode error: startNS's attributeSize is not 0x14, position: 0x67fc
at jadx.core.xmlgen.CommonBinaryParser.die(CommonBinaryParser.java:39)
at jadx.core.xmlgen.BinaryXMLParser.parseElement(BinaryXMLParser.java:269)
at jadx.core.xmlgen.BinaryXMLParser.decode(BinaryXMLParser.java:132)
at jadx.core.xmlgen.BinaryXMLParser.parse(BinaryXMLParser.java:87)

Jadx version

1.5.0

@csasd4234234 csasd4234234 added bug Core Issues in jadx-core module labels Oct 2, 2024
@jpstotz
Copy link
Collaborator

jpstotz commented Oct 2, 2024

Have you tried our latest unstable version? It should contain some fixes that might affect this problem.

If the latest unstable version also has problems please provide the APK file that causes this issue. Just rename the APK to ZIP and attach it to this issue.

Or at least upload the AndroidManifest.xml file from within the APK?

@csasd4234234
Copy link
Author

I'm sorry I can't provide the app for some reason, but I'm guessing that some special characters in the app are used as the file name to cause the jadx compilation to fail.
Uploading 2.png…

@jpstotz
Copy link
Collaborator

jpstotz commented Oct 3, 2024

@csasd4234234 Sepecial characters in filename is something I can definitely exclude as cause. The error is about the binary content. But please text the latest unstable version, I am pretty sure that this problem has been already solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants