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

Unrecognized tag code 0x00100104 #8

Closed
ghost opened this issue Oct 11, 2012 · 5 comments
Closed

Unrecognized tag code 0x00100104 #8

ghost opened this issue Oct 11, 2012 · 5 comments
Milestone

Comments

@ghost
Copy link

ghost commented Oct 11, 2012

hello Tufan,
first of all great work on the ApkParser.. it's the only realy solution i found on the web, so thanks for that.

after messing with it for a while and tried several files i tried to parse the astro.apk file (the application that parse apk on android) and it recived an exception of an Unrecognized tag code 0x00100104 in line 118 in the ApkXmlParser.php file.

and on some other apps i also got 0x00100105 tag issue..

do you know what that tag is and how can i fix it ?

regards,
Gilad.

@jwriteclub
Copy link
Contributor

This appears to be fixable by adding 0x00100104 as a new tag type and simply adding 3*4 to buf can breaking from the switch statement.

See https://code.google.com/p/xml-apk-parser/source/browse/trunk/src/android/content/res/AXmlResourceParser.java line 871.

@tufanbarisyildirim
Copy link
Owner

@jwriteclub please can you explain it more detailed to I will be able to fix this issue? Then, this project will be able to parse other xml files in res/layouts etc. Thank you

@jwriteclub
Copy link
Contributor

@tufanbarisyildirim Absolutely. It's been a few months since I've looked at this code, but I'll make our version of it public on github so you can look through what we're doing and I'll look through my notes to see if I have any more helpful comments.

@jwriteclub
Copy link
Contributor

@tufanbarisyildirim See this commit for our changes (in aggregate, sorry, we use hg for our repo, so I cannot preserve our whole edit history on github): mikandi@36bea59

Here's the final file: https://github.com/mikandi/php-apk-parser/blob/fixed-mikandi-version/lib/ApkParser/XmlParser.php

@ghost
Copy link
Author

ghost commented Oct 14, 2013

hey, thanks for you comments..
i saw a few more error tags while i tried to parse Xmls with your project, most of the times it worked great, but sometimes like i wrote above with the astro.apk i got Unrecognized tags like 0x00100104 - 6 or 7..

if it will help you i can parse some apps again to find out the ones that give errors and send it to you.

anyway it's a great project, thank you..

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

No branches or pull requests

2 participants