http://blog.csdn.net/wirelessqa/article/details/8997168
http://code.google.com/p/android-apktool/downloads/list
1.下载apktool.jar — 解压
2.下载Mac上的辅助工具apktool-install-macosx.. – 解压
3. 将apktool.jar放到apktool-install-macosx..目录下,也就是跟apktool命令放到一起
4.运行sh apktool
01
bixiaopeng@bixiaopengtekiMacBook-Pro
~$ /Users/bixiaopeng/Downloads/apktool-install-macosx-r05-ibot/apktool ; exit;
02
Apktool
v1.5.2 -
a toolfor reengineering
Android apk files
03
Copyright2010 Ryszard
Wi?niewski
04
with
smali v1.4.1,
and baksmali v1.4.1
05
Updated
by@iBotPeaches
06
Apache
License2.0 (http://www.apache.org/licenses/LICENSE-2.0)
07
08
09
Usage:
apktool [-q|--quiet OR -v|--verbose] COMMAND […]
10
11
12
COMMANDs
are:
13
14
15
d[ecode]
[OPTS] [
16
Decode
to
17
18
19
OPTS:
20
21
22
-s,
--no-src
23
Do
not decode sources.
24
-r,
--no-res
25
Do
not decode resources.
26
-d,
--debug
27
Decode
in debug mode. Check project pagefor more
info.
28
-b,
--no-debug-info
29
Baksmali
-- don't write out debug info (.local, .param, .line, etc.)
30
-f,
--force
31
Force
delete destination directory.
32
-t
, --frame-tag
33
Try
to use framework files tagged by .