Android 使用apktool反编译.xml文件的.apk文件时显示错误
我想将.apk文件解码为java和xml文件。为此,我遵循了此链接中提供的教程-。我已经获得了java文件,但在获取xml文件的过程中遇到了问题。当我在命令提示符中编写命令-apktool d filename.apk-时,它显示以下消息:Android 使用apktool反编译.xml文件的.apk文件时显示错误,android,apktool,Android,Apktool,我想将.apk文件解码为java和xml文件。为此,我遵循了此链接中提供的教程-。我已经获得了java文件,但在获取xml文件的过程中遇到了问题。当我在命令提示符中编写命令-apktool d filename.apk-时,它显示以下消息: d[ecode] [OPTS] <file.apk> [<dir>] Decode <file.apk> to <dir>. OPTS: -s, --no-src D
d[ecode] [OPTS] <file.apk> [<dir>]
Decode <file.apk> to <dir>.
OPTS:
-s, --no-src
Do not decode sources.
-r, --no-res
Do not decode resources.
-d, --debug
Decode in debug mode. Check project page for more info.
-f, --force
Force delete destination directory.
-t <tag>, --frame-tag <tag>
Try to use framework files tagged by <tag>.
--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.
b[uild] [OPTS] [<app_path>] [<out_file>]
Build an apk from already decoded application located in <app_path>.
It will automatically detect, whether files was changed and perform
needed steps only.
If you omit <app_path> then current directory will be used.
If you omit <out_file> then <app_path>/dist/<name_of_original.apk>
will be used.
OPTS:
-f, --force-all
Skip changes detection and build all files.
-d, --debug
Build in debug mode. Check project page for more info.
if|install-framework <framework.apk> [<tag>]
Install framework file to your system.
d[ecode][OPTS][]
解码到。
选择:
-s、 --无src
不要解码源代码。
-r、 ”“没有
不要解码资源。
-d、 --调试
在调试模式下解码。查看项目页面了解更多信息。
-f、 --武力
强制删除目标目录。
-t,--帧标签
尝试使用由标记的框架文件。
--保持平衡
如果出现错误并删除了某些资源,请使用,例如:
“检测到无效的配置标志。正在删除资源”,但您
不管怎样,即使有错误,也要解码它们。你必须
在构建之前手动修复它们。
b[uild][OPTS][]
从中已解码的应用程序生成apk。
它将自动检测文件是否已更改并执行
只需要步骤。
如果省略,则将使用当前目录。
如果省略then/dist/
将使用。
选择:
-f、 --强迫所有人
跳过更改检测并生成所有文件。
-d、 --调试
在调试模式下生成。查看项目页面了解更多信息。
如果|安装框架[]
将框架文件安装到系统中。
我真的不明白问题出在哪里。我遵循了该教程中包含的每个步骤。请提供帮助。这不是一个编程问题——简写和全名