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

Paul Wise pabs at debian.org
Sat May 21 12:38:50 UTC 2016


Package: apktool
Version: 2.1.1+dfsg-1
Severity: normal
Usertags: cruft

For some reason apktool seems to think it is appropriate to create
files in my home directory even though I didn't give permission.

pabs at chianamo ~ $ mkdir tmp-android-reversing-project
pabs at chianamo ~ $ cd tmp-android-reversing-project/
pabs at chianamo ~/tmp-android-reversing-project $ gplaycli -pvd com.example.foo
1/1 com.example.foo
[################################] 22534/22534 - 00:00:42
Download complete
pabs at chianamo ~/tmp-android-reversing-project $ ls
com.example.foo.apk
pabs at chianamo ~/tmp-android-reversing-project $ apk
apktool    apkviewer  
pabs at chianamo ~/tmp-android-reversing-project $ apktool d com.example.foo.apk 
...
pabs at chianamo ~/tmp-android-reversing-project $ find ~/apktool
/home/pabs/apktool
/home/pabs/apktool/framework
/home/pabs/apktool/framework/1.apk
pabs at chianamo ~/tmp-android-reversing-project $ sha1sum com.example.foo.apk ~/apktool/framework/1.apk 
dbd2a0d92abc2d7f95d35ab695fee3d93b7e2435  com.example.foo.apk
da39a3ee5e6b4b0d3255bfef95601890afd80709  /home/pabs/apktool/framework/1.apk
pabs at chianamo ~/tmp-android-reversing-project $ file /home/pabs/apktool/framework/1.apk
/home/pabs/apktool/framework/1.apk: empty

-- 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

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/android-tools-devel/attachments/20160521/4bd2a947/attachment.sig>


More information about the Android-tools-devel mailing list