Playscape SDK。无法执行lib2dex

时间:2015-10-04 15:21:07

标签: unity3d playscape

无法在Windows 7上使用Playscape Publishing Kit v1.6构建项目。

  

无法解释lib2dex。错误描述:jar2dex   C:\ Users \ Win \ AppData \ Local \ Temp \ nd2zqels.0mc.jar - >   C:\ Users \ Win \ AppData \ Local \ Temp \ t8ubvyh6.bqq。\ classes.dex调用   com.android.dx.command.Main.main [ - dex, - no-strict,   --output = C:\ Users \ Win \ AppData \ Local \ Temp \ t8ubvyh6.bqq \ classes.dex,C:\ Users \ Win \ AppData \ Local \ Temp \ nd2zqels.0mc.jar]

     

UnityEngine.Debug:LOGERROR(对象)   Playscape.Editor.AndroidApkCreator:Jar2dex(String,String)(at   资产/插件/ Playscape /编辑/ AndroidApkCreator.cs:229)   Playscape.Editor.BuildProcess:Build(String)(at   资产/插件/ Playscape /编辑/ BuildProcess.cs:202)   Playscape.Editor.AndroidPostProcessor:build(Boolean,BuildCompleted,   BuildProgressChanged,BuildFailed)(at   资产/插件/ Playscape /编辑/ AndroidPostProcessor.cs:44)   Playscape.Editor.AndroidPostProcessor:Run()(at   资产/插件/ Playscape /编辑/ AndroidPostProcessor.cs:88)   Playscape.Editor.BuildProcessor:OnPostprocessBuild(BuildTarget,   String)(在Assets / Plugins / Playscape / Editor / BuildProcessor.cs:41)   UnityEditor.HostView:OnGUI()

1 个答案:

答案 0 :(得分:1)

尝试下一步:

  1. 从您的Unity项目中删除了playscape sdk:

    • /资产/插件/ Android设备/ PlayscapeManifestFragments
    • /资产/插件/ Android设备/ PlayscapePublishingKit
    • /资产/插件/ Playscape
    • /资产/ StreamingAssets
    • /资产/温度
  2. 导入新的Playscsape SDK;

  3. 尝试构建您的项目;
  4. 如果问题再现将google-play-services lib从统一中移除并再次导入,并检查您是否正确剥离了google-play-services.jar。(如何删除google-play-services.jar您可以阅读here