alexzaitsev / apk-dependency-graph

Android class dependency visualizer. This tool helps to visualize the current state of the project.
Apache License 2.0
751 stars 71 forks source link

Exception in thread "main" java.lang.NullPointerException #10

Closed andreas- closed 7 years ago

andreas- commented 7 years ago

Trying out several release apk i get this error

at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:58) at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:516) at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:267) at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131) at brut.androlib.ApkDecoder.decode(ApkDecoder.java:108) at brut.apktool.Main.cmdDecode(Main.java:163) at brut.apktool.Main.main(Main.java:81)

no difference if i run sh run.sh ... or java -jar ...

alexzaitsev commented 7 years ago

Please submit this crash to apktool repository: https://github.com/iBotPeaches/Apktool

gwen14123 commented 7 years ago

It's because you have a wrong framework-res.apk file : me i have download framework-res.apk on this website : https://basketbuild.com/filedl/devs?dev=aniruddhc&dl=aniruddhc/framework-res.apk Now I haven't issue.

gwen14123 commented 7 years ago

No the framework-res that you have given are bad too : Try framework-res and SystemUI of this website inside of this archeve 👍 http://www.mediafire.com/file/a3gi2gjeyyio3qp/lollipop_systemUI_frame-res.zip