[Android-tools-devel] Bug#824930: Bug#824930: Bug#824930: Bug#824930: Bug#824930: apktool: creates directories and an empty 1.apk file in $HOME

Chirayu Desai chirayudesai1 at gmail.com
Wed Jun 8 19:02:39 UTC 2016


This was discussed on IRC, and since we already need to build
framework-res.apk for android.jar (it is extracted and the contents
are included as-is in the jar), we can also have a separate package
for it, which I have ready at:
https://gitlab.com/cde/debian_android-tools_android-platform-frameworks-base/commit/1ea978033eb92e0c7c14f1ca40c61d84b2a2e7f1

i also have made changes to apktool to use that, however I need to
make some changes based on the feedback I got.

On Wed, Jun 8, 2016 at 5:37 PM, Hans-Christoph Steiner <hans at at.or.at> wrote:
> I think it might be more honest to help the user fetch framework-res.apk
> from a connected device or emulator using `adb pull` rather than
> including one in Debian, since for many use cases, it'll require a
> different framework-res.apk.  Like the example in the apktool docs,
> where it talks about an HTC-specific framework-res.apk:
> https://ibotpeaches.github.io/Apktool/documentation/
>
> Perhaps `apktool install-framework` could modified to do this? Or just a
> standalone script?
>
> I think we should definitely patch apktool to set an XDG dir.  I prefer
> ~/.local/share/apktool since the file is required for apktool to work,
> but ~/.cache/apktool would be OK.
I have a patch locally that makes it use ~/.local/share/apktool, can
update it / push it as preferred.
>
> _______________________________________________
> Android-tools-devel mailing list
> Android-tools-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel



More information about the Android-tools-devel mailing list