APKTOOL Hidden Advance Command Line Switches

Posted at

Apktool v2.0.2 - a tool for reengineering Android apk files
with smali v2.0.8 and baksmali v2.0.8
Copyright 2014 Ryszard Wi?niewski
Updated by Connor Tumbleson
Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)

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]
-p,--frame-path Stores framework files into .
-t,--tag Tag frameworks using .
usage: apktool [-q|--quiet OR -v|--verbose] d[ecode] [options]
--api The numeric api-level of 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 more info.
--debug-line-prefix Smali line 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 some resources were dropped, e.g.
"Invalid config flags detected. Dropping resources", but you
want to decode them anyway, even with errors. You will have to
fix them manually before building.
-m,--match-original Keeps files to closest to original as possible. Prevents rebuild.
-o,--output The name of folder that gets written. Default is apk.out
Uses framework files located in .
-r,--no-res Do not decode resources.
-s,--no-src Do not decode sources.
-t,--frame-tag Uses framework files tagged by .
usage: apktool [-q|--quiet OR -v|--verbose] b[uild] [options]
-a,--aapt Loads aapt from specified location.
-c,--copy-original Copies original AndroidManifest.xml and META-INF. See project page for more info.
-d,--debug Builds in debug mode. Check project page for more info.
-f,--force-all Skip changes detection and build all files.
-o,--output The name of apk that gets written. Default is dist/name.apk
Uses framework files located in .
usage: apktool [-q|--quiet OR -v|--verbose] publicize-resources
Make all framework resources public.

For additional info, see: http://ibotpeaches.github.io/Apktool/
For smali/baksmali info, see: http://code.google.com/p/smali/