1 1 1 1 1 1 1 1 1 1 Рейтинг 0.00 (0 Голоса(ов)

Параметры утилиты 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]&nbsp;<br /> -advance,--advanced&nbsp; &nbsp;prints advance information.&nbsp;<br /> -version,--version&nbsp; &nbsp; prints the version then exits<br />usage: apktool [-q|--quiet OR -v|--verbose] if|install-framework [options] <framework.apk>&nbsp;<br /> -p,--frame-path <dir>&nbsp; &nbsp;Stores framework files into <dir>.<br />&nbsp;-t,--tag <tag>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Tag frameworks using <tag>.<br />usage: apktool [-q|--quiet OR -v|--verbose] d[ecode] [options] <file_apk><br />&nbsp;-api,--api-level <API>&nbsp; &nbsp;The numeric api-level of the file to generate, e.g. 14 for ICS.<br />&nbsp;-b,--no-debug-info&nbsp; &nbsp; &nbsp; &nbsp;don't write out debug info (.local, .param, .line, etc.)<br />&nbsp;-f,--force&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Force delete destination directory.<br />&nbsp; &nbsp; --force-manifest&nbsp; &nbsp; &nbsp; Decode the APK's compiled manifest, even if decoding of resources is set to "false".<br />&nbsp;-k,--keep-broken-res&nbsp; &nbsp; &nbsp;Use if there was an error and some resources were dropped, e.g.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Invalid config flags detected. Dropping resources", but you&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; want to decode them anyway, even with errors. You will have to&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fix them manually before building.<br />&nbsp;-m,--match-original&nbsp; &nbsp; &nbsp; Keeps files to closest to original as possible. Prevents rebuild.<br />&nbsp; &nbsp; --no-assets&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Do not decode assets.<br />&nbsp;-o,--output <dir>&nbsp; &nbsp; &nbsp; &nbsp; The name of folder that gets written. Default is apk.out<br />&nbsp; &nbsp; --only-main-classes&nbsp; &nbsp;Only disassemble the main dex classes (classes[0-9]*.dex) in the root.<br />&nbsp;-p,--frame-path <dir>&nbsp; &nbsp; Uses framework files located in <dir>.<br />&nbsp;-r,--no-res&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Do not decode resources.<br />&nbsp;-s,--no-src&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Do not decode sources.<br />&nbsp;-t,--frame-tag <tag>&nbsp; &nbsp; &nbsp;Uses framework files tagged by <tag>.<br />usage: apktool [-q|--quiet OR -v|--verbose] b[uild] [options] <app_path><br />&nbsp;-a,--aapt <loc>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Loads aapt from specified location.<br />&nbsp;-api,--api-level <API>&nbsp; &nbsp;The numeric api-level of the file to generate, e.g. 14 for ICS.<br />&nbsp;-c,--copy-original&nbsp; &nbsp; &nbsp; &nbsp;Copies original AndroidManifest.xml and META-INF. See project page for more info.<br />&nbsp;-d,--debug&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Sets android:debuggable to "true" in the APK's compiled manifest<br />&nbsp;-f,--force-all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Skip changes detection and build all files.<br />&nbsp;-nc,--no-crunch&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Disable crunching of resource files during the build step.<br />&nbsp;-o,--output <dir>&nbsp; &nbsp; &nbsp; &nbsp; The name of apk that gets written. Default is dist/name.apk<br />&nbsp;-p,--frame-path <dir>&nbsp; &nbsp; Uses framework files located in <dir>.<br />&nbsp; &nbsp; --use-aapt2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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 />&nbsp;-f,--force&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Force delete destination directory.<br />&nbsp;-p,--frame-path <dir>&nbsp; &nbsp;Stores framework files into <dir>.<br />usage: apktool [-q|--quiet OR -v|--verbose] list-frameworks [options]<br />&nbsp;-p,--frame-path <dir>&nbsp; &nbsp;Stores framework files into <dir>.

Оставьте свой комментарий

Оставить комментарий как гость

0
  • Комментариев нет