This is a standalone version of adb/aapt/zipalign and works with 32bit/64bit linux.
All sources comes from android 4.1.2 sources with some modifications.
If you are annoyed with generating a 64bit zipalign/adb/aapt tool, please use this!!
If you want to understand how it works, please read this!!
The compiling ways are shown below:
1. Compling
tar zxvf android-utils-4.1.2-r1.tar.gz
cd android-utils
./autogen.sh
./configure --prefix=/usr
make
make install
2. Possible Problems
when using ./autogen.sh
./autogen.sh: 2: ./autogen.sh: libtoolize: not found
./autogen.sh: 3: ./autogen.sh: aclocal: not found
./autogen.sh: 4: ./autogen.sh: autoconf: not found
./autogen.sh: 5: ./autogen.sh: automake: not found
Solutions:
apt-get install libtool
apt-get install autoconf
continue running "./autogen.sh"
Possible errors:
configure.ac:9: error: Autoconf version 2.68 or higher is required。
solutions on ubuntu:
1. wget ef9K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8X3k6@1M7q4)9J5k6h3N6F1N6g2)9J5k6h3!0J5k6#2)9J5c8X3N6F1N6g2)9J5c8X3q4#2N6r3!0U0L8$3&6X3i4K6u0r3j5i4g2@1L8$3y4G2L8X3k6Q4x3X3b7J5i4K6u0W2y4U0S2Q4x3X3g2@1j5i4u0Q4x3X3g2Y4P5R3`.`.
2. tar xzf autoconf-2.68.tar.gz
3. cd autoconf-2.68
4. ./configure
5. make && make install
3. The error when using "make" in progress 1
http-push.c:17:19: fatal error: expat.h: No such file or directory
#include <expat.h>