Comments (5)
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.
from php-apk-parser.
@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
from php-apk-parser.
@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.
from php-apk-parser.
@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
from php-apk-parser.
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..
from php-apk-parser.
Related Issues (20)
- Question - Fastest way to check if a file is apk
- how to use without composer? is it possible? HOT 2
- PHP 8.1 compatibility issue
- Extracting XML with the strings decoded HOT 2
- update packagist.org HOT 1
- I can translate the code to Portuguese HOT 1
- Error Facebook HOT 2
- Error loading the apk google calls and google contacts HOT 2
- Getting path of icon
- Does not read flutter application name
- ZipArchive::getStream(): Invalid or uninitialized Zip object HOT 1
- Uncaught exception 'Exception' with message 'Unrecognized tag code '100' at offset 39368'
- This repo depends on java environment. I found one way, faster, high performance! Cool! HOT 1
- redundent utf8_encode in XML parser HOT 1
- Url Parse HOT 2
- Read resources by key
- getResources return nil in new android version HOT 6
- How to get Target SDK version?
- Unrecognized tag code '0' at offset 41852 HOT 1
- Composer version does not detect api30 (code is alorder than new code here) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-apk-parser.