apktool -advance里的隐藏功能

apktool -advance

usage: apktool [-q|--quiet OR -v|--verbose]

-advance,--advanced prints advance information.

-version,--version prints the version then exits

usage: apktool [-q|--quiet OR -v|--verbose] if|install-framework[options] <framework.apk>

-p,--frame-path <dir> Storesframework files into <dir>.

-t,--tag <tag> Tag frameworksusing <tag>.

usage: apktool [-q|--quiet OR -v|--verbose] d[ecode] [options]<file_apk>

--api <API> The numeric api-levelof the file to generate, e.g. 14 for ICS.

-b,--no-debug-info don't write out debug info (.local, .param,.line, etc.)

-d,--debug Decode in debug mode. Check project page for moreinfo.

--debug-line-prefix <prefix> Smaliline prefix when decoding in debug mode. Default is "a=0;//".

-f,--force Force delete destination directory.

-k,--keep-broken-res Use if there was an error and someresources were dropped, e.g.

"Invalid config flags detected. Dropping resources", but you

want to decode them anyway, even with errors. You will haveto

fix them manually before building.

-m,--match-original Keeps files to closest to original aspossible. Prevents rebuild.

-o,--output <dir> The name offolder that gets written. Default is apk.out

-p,--frame-path <dir> Usesframework files located in <dir>.

-r,--no-res Do not decode resources.

-s,--no-src Do not decode sources.

-t,--frame-tag <tag> Usesframework files tagged by <tag>.

usage: apktool [-q|--quiet OR -v|--verbose] b[uild] [options]<app_path>

-a,--aapt <loc> Loads aapt fromspecified location.

-c,--copy-original Copies original AndroidManifest.xml andMETA-INF. See project page for more

info.

-d,--debug Builds in debug mode. Check project page for moreinfo.

-f,--force-all Skip changes detection and build all files.

-o,--output <dir> The name of apkthat gets written. Default is dist/name.apk

-p,--frame-path <dir> Usesframework files located in <dir>.

usage: apktool [-q|--quiet OR -v|--verbose] publicize-resources<file_path>

Make all framework resources public.

For additional info, see:http://code.google.com/p/android-apktool/

For smali/baksmali info, see:http://code.google.com/p/smali/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值