shwenzhang / AndResGuard

proguard resource for Android by wechat team
Apache License 2.0
8.55k stars 1.54k forks source link

Cannot run program "7za": CreateProcess error=2, 系统找不到指定的文件。 #495

Open 2677761073 opened 3 years ago

2677761073 commented 3 years ago

java.io.IOException: Cannot run program "7za": CreateProcess error=2, 系统找不到指定的文件。 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at com.tencent.mm.util.Utils.runCmd(Utils.java:64) at com.tencent.mm.androlib.ResourceApkBuilder.generalRaw7zip(ResourceApkBuilder.java:398) at com.tencent.mm.androlib.ResourceApkBuilder.use7zApk(ResourceApkBuilder.java:137) at com.tencent.mm.androlib.ResourceApkBuilder.buildApkWithV1sign(ResourceApkBuilder.java:57) at com.tencent.mm.resourceproguard.Main.buildApk(Main.java:126) at com.tencent.mm.resourceproguard.Main.resourceProguard(Main.java:98) at com.tencent.mm.resourceproguard.Main.resourceProguard(Main.java:83) at com.tencent.mm.resourceproguard.cli.CliMain.run(CliMain.java:243) at com.tencent.mm.resourceproguard.cli.CliMain.main(CliMain.java:38) Caused by: java.io.IOException: CreateProcess error=2, 系统找不到指定的文件。 at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(ProcessImpl.java:453) at java.lang.ProcessImpl.start(ProcessImpl.java:140) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 9 more