sable / axml Goto Github PK
View Code? Open in Web Editor NEWThe axml components for reading binary Android XML files in Soot
License: Apache License 2.0
The axml components for reading binary Android XML files in Soot
License: Apache License 2.0
Why it throwing java.lang.nullpointerexception attempt to invoke virtual method 'int java.lang.string.length()'
Can't find how to use this library.
Is it still being developed?
axml/src/pxb/android/StringItems.java
Line 90 in e7771fd
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at pxb.android.StringItems.prepare(StringItems.java:90)
at pxb.android.axml.AxmlWriter.prepare(AxmlWriter.java:344)
at pxb.android.axml.AxmlWriter.toByteArray(AxmlWriter.java:356)
Hi,
I am using axml to rewrite arsc file, and pxb.android.arsc.ArscWriter#main
as entry, while it throws an exception, the input arsc can be found in attachment [attachment](url
resources.arsc.zip
)
Exception in thread "main" java.lang.RuntimeException
at pxb.android.arsc.ArscParser.readPackage(ArscParser.java:256)
at pxb.android.arsc.ArscParser.parse(ArscParser.java:142)
at pxb.android.arsc.ArscWriter.main(ArscWriter.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Is there any idea why this happens?
Looking forward your reply, thank you.
axml/src/pxb/android/axml/AxmlParser.java
Lines 165 to 170 in 910bc3d
if nsIdx < 0
, it can't be greater than strings.length
.
is this library works on android? to make application for editing arsc files? or xml?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.