好友
阅读权限10
听众
最后登录1970-1-1
|
跟着教程一步一步的走,卡在这3天了,百度了好久
试过的办法apktool是2.6最新的。JDK是17的,18的都试过了, 1.apk也删了不行,rtl230那个也换了
这个报错信息是apk拖进去反编译完成后直接编译就报错了,
当前 Apktool 使用版本:2.61
正在编译 APK,请稍等...
>I: Using Apktool 2.1.0
>I: Smaling smali folder into classes.dex...
>I: Building resources...
>\AppData\Local\Temp\APKTOOL9374550305154970055.tmp, -0, arsc, -0, xml, -0, ttf, -0, so, -0, dat, -0, vw, -0, cod, -0, ini, -0, arsc, -I, C:\Users\Administrator\apktool\framework\1.apk, -S, G:\wuaipojie\KILLER\projects\切水果大战原版\Project\res, -M, G:\wua\AppData\Local\Temp\APKTOOL9374550305154970055.tmp, -0, arsc, -0, xml, -0, ttf, -0, so, -0, dat, -0, vw, -0, cod, -0, ini, -0, arsc, -I, C:\Users\Administrator\apktool\framework\1.apk, -S, G:\wuaipojie\KILLER\projects\切水果大战原版\Project\res, -M, G:\wuaipojie\KILLER\projects\切水果大战原版\Project\AndroidManifest.xml]
> at brut.androlib.Androlib.buildResourcesFull(Androlib.java:433)
> at brut.androlib.Androlib.buildResources(Androlib.java:371)
> at brut.androlib.Androlib.build(Androlib.java:281)
> at brut.androlib.Androlib.build(Androlib.java:254)
> at brut.apktool.Main.cmdBuild(Main.java:224)
> at brut.apktool.Main.main(Main.java:84)
>Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [aapt, p, --forced-package-id, 127, --min-sdk-version, 9, --version-code, 21, --version-name, 1.0, -F, C:\Users\ADMINI~1\AppData\Local\Temp\APKTOOL9374550305154970055.tmp, -0, arsc, -0, xml, -0, ttf, -0, so, -0, dat, -0, vw, -0, cod, -0, ini, -0, arsc, -I, C:\Users\Administrator\apktool\framework\1.apk, -S, G:\wuaipojie\KILLER\projects\切水果大战原版\Project\res, -M, G:\wuaipojie\KILLER\projects\切水果大战原版\Project\AndroidManifest.xml]
> at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433)
> at brut.androlib.Androlib.buildResourcesFull(Androlib.java:419)
> ... 5 more
>Caused by: brut.common.BrutException: could not exec: [aapt, p, --forced-package-id, 127, --min-sdk-version, 9, --version-code, 21, --version-name, 1.0, -F, C:\Users\ADMINI~1\AppData\Local\Temp\APKTOOL9374550305154970055.tmp, -0, arsc, -0, xml, -0, ttf, -0, so, -0, dat, -0, vw, -0, cod, -0, ini, -0, arsc, -I, C:\Users\Administrator\apktool\framework\1.apk, -S, G:\wuaipojie\KILLER\projects\切水果大战原版\Project\res, -M, G:\wuaipojie\KILLER\projects\切水果大战原版\Project\AndroidManifest.xml]
> at brut.util.OS.exec(OS.java:97)
> at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:427)
> ... 6 more
>Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, 系统找不到指定的文件。
> at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
> at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
> at brut.util.OS.exec(OS.java:90)
> ... 7 more
>Caused by: java.io.IOException: CreateProcess error=2, 系统找不到指定的文件。
> at java.base/java.lang.ProcessImpl.create(Native Method)
> at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:494)
> at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159)
> at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
> ... 9 more
APK 编译失败,无法继续下一步签名! |
|