应用修补程序过程中,Playscape Publishing Kit失败并显示错误未知

时间:2015-09-07 12:25:46

标签: java android unity3d playscape

运行Unity 4.5.4f1Playscape SDK version 1.14,为Android目标构建,我在Unity中应用修补程序过程中遇到错误未知。在CMD中运行执行的命令时,我收到以下错误:

  

错误:无法找到或加载主类com.googlecode.dex2jar.tools.Dex2jarCmd

我提供的命令输入(取自SDK记录器)如下:

"C:\Program Files (x86)\Java\jdk1.8.0_51/bin/java.exe" -clas
spath Assets/Plugins/Playscape/Editor/ThirdParty/dex2jar\lib/asm-all-3.3.1.jar;A
ssets/Plugins/Playscape/Editor/ThirdParty/dex2jar\lib/commons-lite-1.15.jar;Asse
ts/Plugins/Playscape/Editor/ThirdParty/dex2jar\lib/dex-ir-1.12.jar;Assets/Plugin
s/Playscape/Editor/ThirdParty/dex2jar\lib/dex-reader-1.15.jar;Assets/Plugins/Pla
yscape/Editor/ThirdParty/dex2jar\lib/dex-tools-0.0.9.15.jar;Assets/Plugins/Plays
cape/Editor/ThirdParty/dex2jar\lib/dex-translator-0.0.9.15.jar;Assets/Plugins/Pl
ayscape/Editor/ThirdParty/dex2jar\lib/dx.jar;Assets/Plugins/Playscape/Editor/Thi
rdParty/dex2jar\lib/jar-rename-1.6.jar;Assets/Plugins/Playscape/Editor/ThirdPart
y/dex2jar\lib/asmin-p2.5.jar -Xms1024m -Xms1024m com.googlecode.dex2jar.tools.De
x2jarCmd -f -o "C:\Users\THREEG~1\AppData\Local\Temp\vbqpzsn0.9r6.jar" "C:\Users
\THREEG~1\AppData\Local\Temp\jhcbrbrz.ocm./classes.dex"

我检查了项目中的文件夹结构,似乎存在dex2jar。我们在更新之前没有看到这个问题。

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

我自己找到了。这很可能是由于AndroidApkCreator.cs第39行中的拼写错误,其中" lib / asmin-p2.5.jar"而应该读取" lib / jasmin-p2.5.jar",通过lib文件夹中的文件名来判断。但是,这似乎并没有完全消除此问题,因为CMD提示仍然会引发以下错误: 无法找到或加载主类com.googlecode.dex2jar.tools.Dex2JarCmd