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 http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
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>