Параметры утилиты apktool
Утилита apktool используется для декомпилляции и обратной сборки apk-файлов Android.
Код :Вариант: apktool<br /> -advance,--advanced Вывод расширенной информации. -version,--version Вывод версии apktool Вариант: apktool if|install-framework [ключи] <framework.apk> -p,--frame-path <папка> Сохранить файлы фреймворка в папку <папка> -t,--tag <тэг> Использовать тэг фреймворка <тэг> Вариант: apktool d[ecode] [ключи] <file_apk> -f,--force Принудительно удалить целевую папку -o,--output <папка> Имя папки, в которую будет записан файл. По умолчанию apk.out -p,--frame-path <папка> Использовать файлы фреймоворка, расположенные в папке -r,--no-res Не декодировать ресурсы -s,--no-src Не декодировать исходный код -t,--frame-tag <тэг> Использовать файлы фреймворка, отмеченные тэгом Вариант: apktool b[uild] [ключи] -f,--force-all Игнорировать отслеживание измененных файлов и пересобрать всё -o,--output <папка> Имя выходного apk-файла м путём. По умолчанию dist/name.apk -p,--frame-path <папка> Использовать файлы фреймворка, расположенные в папке
Расширенная информация apktool (выдается по ключу -advance)
Код :usage: apktool [-q|--quiet OR -v|--verbose] <br /> -advance,--advanced prints advance information. <br /> -version,--version prints the version then exits<br />usage: apktool [-q|--quiet OR -v|--verbose] if|install-framework [options] <framework.apk> <br /> -p,--frame-path <dir> Stores framework files into <dir>.<br /> -t,--tag <tag> Tag frameworks using <tag>.<br />usage: apktool [-q|--quiet OR -v|--verbose] d[ecode] [options] <file_apk><br /> -api,--api-level <API> The numeric api-level of the file to generate, e.g. 14 for ICS.<br /> -b,--no-debug-info don't write out debug info (.local, .param, .line, etc.)<br /> -f,--force Force delete destination directory.<br /> --force-manifest Decode the APK's compiled manifest, even if decoding of resources is set to "false".<br /> -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.<br /> -m,--match-original Keeps files to closest to original as possible. Prevents rebuild.<br /> --no-assets Do not decode assets.<br /> -o,--output <dir> The name of folder that gets written. Default is apk.out<br /> --only-main-classes Only disassemble the main dex classes (classes[0-9]*.dex) in the root.<br /> -p,--frame-path <dir> Uses framework files located in <dir>.<br /> -r,--no-res Do not decode resources.<br /> -s,--no-src Do not decode sources.<br /> -t,--frame-tag <tag> Uses framework files tagged by <tag>.<br />usage: apktool [-q|--quiet OR -v|--verbose] b[uild] [options] <app_path><br /> -a,--aapt <loc> Loads aapt from specified location.<br /> -api,--api-level <API> The numeric api-level of the file to generate, e.g. 14 for ICS.<br /> -c,--copy-original Copies original AndroidManifest.xml and META-INF. See project page for more info.<br /> -d,--debug Sets android:debuggable to "true" in the APK's compiled manifest<br /> -f,--force-all Skip changes detection and build all files.<br /> -nc,--no-crunch Disable crunching of resource files during the build step.<br /> -o,--output <dir> The name of apk that gets written. Default is dist/name.apk<br /> -p,--frame-path <dir> Uses framework files located in <dir>.<br /> --use-aapt2 Upgrades apktool to use experimental aapt2 binary.<br />usage: apktool [-q|--quiet OR -v|--verbose] publicize-resources <file_path><br />usage: apktool [-q|--quiet OR -v|--verbose] empty-framework-dir [options]<br /> -f,--force Force delete destination directory.<br /> -p,--frame-path <dir> Stores framework files into <dir>.<br />usage: apktool [-q|--quiet OR -v|--verbose] list-frameworks [options]<br /> -p,--frame-path <dir> Stores framework files into <dir>.
Оставьте свой комментарий
Войдите, чтобы оставлять комментарии
Оставить комментарий как гость