Monday, February 11, 2013

APK tool set up in ubuntu for android developers

download apktool.jar and linux installation file copy them to /usr/local/bin together with .apk file.

Run the command as follows

java -jar apktool.jar d FourInALine.apk

my steps



root@ubuntu:/home/android/Desktop# ls
apktool1.4.3.tar.bz2                     apktool.jar  FEB11            New
apktool-install-linux-r04-brut1          eclipse      FourInALine.apk  personl
apktool-install-linux-r04-brut1.tar.bz2  fb           In.desktop
root@ubuntu:/home/android/Desktop# cp apktool.jar /usr/local/bin
root@ubuntu:/home/android/Desktop# cp apktool-install-linux-r04-brut1 /usr/local/bin
cp: omitting directory `apktool-install-linux-r04-brut1'
root@ubuntu:/home/android/Desktop# cp -rf apktool-install-linux-r04-brut1 /usr/local/bin
root@ubuntu:/home/android/Desktop# cd /usr/local/bin
root@ubuntu:/usr/local/bin# ls
apktool-install-linux-r04-brut1  apktool.jar
root@ubuntu:/usr/local/bin# cd /home/android/Desktop/
root@ubuntu:/home/android/Desktop# ls
apktool1.4.3.tar.bz2                     apktool.jar  FEB11            New
apktool-install-linux-r04-brut1          eclipse      FourInALine.apk  personl
apktool-install-linux-r04-brut1.tar.bz2  fb           In.desktop
root@ubuntu:/home/android/Desktop# cp -rf FourInALine.apk /usr/local/bin
root@ubuntu:/home/android/Desktop# cd /usr/local/bin
root@ubuntu:/usr/local/bin# ls
apktool-install-linux-r04-brut1  apktool.jar  FourInALine.apk
root@ubuntu:/usr/local/bin# java -jar apktool.jar d FourInALine.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
root@ubuntu:/usr/local/bin#


successsssssssss

1 comment:

  1. Hello There,

    Great piece on APK tool set up in ubuntu for android developers , I’m a fan of the ‘flowery’ style Looking forward to more long form articles ??
    I'm not a very good user of Linux, but i know the basics comands to play with the configurations. But i have a problem. I'm actualy working in a Distro using LFS (Linux From Scratch) and i want to build the system on version 7.4, but is dificult for me make this without some instructions more resumed and more simplificated, so I can't be able to understand the book. So please, can someone help me ???

    Thanks a lot. This was a perfect step-by-step guide. Don’t think it could have been done better.

    Thanks and Regards
    Preethi.

    ReplyDelete