Am 21.05.2016 um 14:40 schrieb Paul Wise: > Package: apktool > Version: 2.1.1+dfsg-1 > Severity: serious > > apktool seems to crash with every APK I try it on:
[...] Hi, thank you for the report. I am sorry that I didn't discover this sooner. Unfortunately I used a local copy of the original apktool.jar for testing purposes and this hid the issue somehow. We use Debian's system aapt while upstream bundles this tool. I thought I had fixed this by applying the use_system_aapt.patch. https://anonscm.debian.org/cgit/android-tools/apktool.git/tree/debian/patches/use_system_aapt.patch Perhaps I also need to symlink aapt into /usr/share/apktool? I will try that later. In the meantime you can point apktool to aapt by using apktool -a /usr/bin/aapt The second issue here is that users need the framework files otherwise they can't decode apk files. https://ibotpeaches.github.io/Apktool/documentation/#framework-files They can be installed with apktool if framework-res.apk and will be copied to $HOME/apktool. (See also https://bugs.debian.org/824930) After that decoding should work but I haven't tested it yet. It would be more convenient if this worked out-of-the box without the need to run the above mentioned commands though. Not all apk files can be decoded with the AOSP framework files and I'm not so sure if the others are all free software but it would be a huge improvement if we could ship the AOSP files at least. Regards, Markus
signature.asc
Description: OpenPGP digital signature