我有一个文件夹需要编译成手机的 APK,我已按照https://ibotpeaches.github.io/Apktool/install/上的所有安装说明进行操作
当我输入 javajava -jar apktool.jar apktool b /Users/jordan/Desktop/PieMessage-master
我明白了:
I: Using Apktool 2.2.0
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.io.FileNotFoundException: b (No such file or directory)
at brut.androlib.Androlib.readMetaFile(Androlib.java:258)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.directory.DirectoryException: java.io.FileNotFoundException: b (No such file or directory)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:55)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:38)
at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)
at brut.androlib.Androlib.readMetaFile(Androlib.java:254)
... 4 more
Caused by: java.io.FileNotFoundException: b (No such file or directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:219)
at java.util.zip.ZipFile.<init>(ZipFile.java:149)
at java.util.zip.ZipFile.<init>(ZipFile.java:163)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)
... 7 more