首页
社区
课程
招聘
[推荐]分享一个开源的工具包
发表于: 2014-11-19 11:21 8720

[推荐]分享一个开源的工具包

2014-11-19 11:21
8720
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>

apt-get install libexpat1-dev

4. make install

generated bin is located in /usr/bin

Hope all like it!

[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)

上传的附件:
收藏
免费 0
支持
分享
最新回复 (7)
雪    币: 236
活跃值: (60)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
是adb源码么,收藏了
2014-11-19 11:45
0
雪    币: 188
活跃值: (167)
能力值: ( LV3,RANK:30 )
在线值:
发帖
回帖
粉丝
3
包括adb,还有 zipalign aapt等
2014-11-19 12:15
0
雪    币: 236
活跃值: (60)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
那谢谢了,感谢LZ的分享。干货~~
2014-11-19 13:27
0
雪    币: 199
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
感谢LZ的分享
2014-11-19 15:07
0
雪    币: 7352
活跃值: (4552)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
6
看不懂鸟语。。。
2014-11-19 21:27
0
雪    币: 29
活跃值: (499)
能力值: ( LV8,RANK:120 )
在线值:
发帖
回帖
粉丝
7
感谢分享
2014-11-19 23:46
0
雪    币: 236
活跃值: (60)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
8
万抽抽大牛都鉴定过的,肯定是好东西,一定精品~~!看来大伙不能错过了~~
2014-11-20 08:58
0
游客
登录 | 注册 方可回帖
返回
//