[Android-tools-devel] Bug#824933: apktool: crashes with every APK
Paul Wise
pabs at debian.org
Sat May 21 12:40:44 UTC 2016
Package: apktool
Version: 2.1.1+dfsg-1
Severity: serious
apktool seems to crash with every APK I try it on:
pabs at chianamo ~/tmp-android-reversing-project $ apktool d com.example.foo.apk
...
I: Using Apktool 2.1.1-dirty on com.example.foo.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
Exception in thread "main" java.lang.NullPointerException
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2146)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2102)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2123)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2078)
at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:581)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(AndrolibResources.java:121)
at brut.androlib.res.data.ResTable.getPackage(ResTable.java:83)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:66)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:62)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:39)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.parseManifest(XmlPullStreamDecoder.java:97)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:65)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:140)
at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:208)
at brut.androlib.Androlib.decodeManifestWithResources(Androlib.java:133)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:106)
at brut.apktool.Main.cmdDecode(Main.java:163)
at brut.apktool.Main.main(Main.java:81)
-- System Information:
Debian Release: stretch/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 'testing-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apktool depends on:
ii aapt 1:6.0.1+r16-1+b1
ii default-jre-headless [java7-runtime-headless] 2:1.8-57
ii libantlr3-runtime-java 3.5.2-4
ii libcommons-cli-java 1.3.1-3
ii libcommons-io-java 2.5-1
ii libcommons-lang3-java 3.4-1
ii libguava-java 19.0-1
ii libjsr305-java 0.1~+svn49-9
ii libsmali-java 2.1.2-1
ii libstringtemplate-java 3.2.1-2
ii libxmlunit-java 1.6-1
ii libxpp3-java 1.1.4c-2
ii libyaml-snake-java 1.17-1
ii openjdk-8-jre-headless [java7-runtime-headless] 8u91-b14-2
apktool recommends no packages.
apktool suggests no packages.
-- no debconf information
More information about the Android-tools-devel
mailing list