简体   繁体   English

为什么Playscape SDK找不到JDK?

[英]Why does Playscape SDK not find JDK?

Upgrading to Playscape SDK 1.7 on our Unity 4.5.4f1 game build, I receive the following error as the 'Moving final package' process of the build (for android) executes: 在我们的Unity 4.5.4f1游戏构建上升级到Playscape SDK 1.7时,由于执行构建(针对Android)的“移动最终包”过程,我收到以下错误:

Playscape Misconfigured
To configure Playscape Publishing Kit go to Window > Playscape Publishing Kit Configuration...

- [WARN-G006] Please make sure you have a suitable JDK Installation.

The thing is the previous versions of the Publishing Kit had no issues locating the installations of Java on the system, including JDK 1.8 and 1.7, x64 versions. 关键是发布工具包的早期版本在系统上查找Java的安装位置没有问题,包括JDK 1.8和1.7,x64版本。 The PATH and JAVA_HOME variables have not been altered, why this seems to be a case where the Playscape SDK fails to find Java, or I am missing something obvious about configuring the Playscape SDK. PATH和JAVA_HOME变量没有更改,为什么这似乎是Playscape SDK无法找到Java的情况,或者我缺少有关配置Playscape SDK的明显信息。 What else can this error message be an indication of? 此错误消息还可以指示什么? We do have the proper API key in place, a functional Java Heap Size and I have tried building with both Playscape Exchance and ARMEABI on and off. 我们确实有适当的API密钥,功能正常的Java堆大小,并且我尝试在Playscape Exchance和ARMEABI启用和禁用的情况下进行构建。

解决此特定问题的方法是,某些东西(例如,其中一个组件)现在要求我在Windows 7的环境变量中定义一个JDK_HOME变量。添加JDK_HOME变量并将其指向最近安装的JDK(用于示例“ C:\\ Program Files \\ Java \\ jdk1.8.0_51”解决了该问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM