[Android-tools-devel] Bug#824933: Bug#824933: apktool: crashes with every APK
Markus Koschany
apo at debian.org
Sat May 21 15:31:30 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/android-tools-devel/attachments/20160521/5e5807b5/attachment-0001.sig>
More information about the Android-tools-devel
mailing list