[英]apktool is not generating apk file
I used apktool 2.0.0 rc4 version and unpackaged CP.apk file using the tool, then modified a file and trying to re-package it using " apktool b CP test.apk " command 我使用apktool 2.0.0 rc4版本和使用该工具解压缩的CP.apk文件,然后修改了一个文件并尝试使用“apktool b CP test.apk”命令重新打包它
and output goes as below , however there is no test.apk in working directory. 输出如下,但工作目录中没有test.apk。
...\apktool>apktool b CP test.apk
I: Using Apktool 2.0.0-RC3 on CP
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Copying raw resources...
I: Building apk file...
I: Copying unknown files/dir...
Am I missing anything ? 我错过了什么吗?
The default output directory is dist/name.apk
. 默认输出目录是
dist/name.apk
。 Thus, in your case the output should be in CP/dist/OP.apk
. 因此,在您的情况下,输出应该在
CP/dist/OP.apk
。
You can use the -o,--output <dir>
option to specifiy another output path. 您可以使用
-o,--output <dir>
选项指定另一个输出路径。
Also, the test.apk
is redundant and will be ignored. 此外,
test.apk
是多余的,将被忽略。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.