Project1

标题: 按照F1的方法用crosswalk打包,失败了,求问题所在!! [打印本页]

作者: Atlers712    时间: 2015-11-14 15:17
标题: 按照F1的方法用crosswalk打包,失败了,求问题所在!!
C:\Users\Administrator\Documents\Output\WanFu Must Die!\www>C:\crosswalk-10.39.2
35.16\make_apk.py --package=com.example.sample --manifest=manifest.json
Checking manifest file
Checking system requirements...ok

Starting application build (x86)
* Checking keystore for signing
   No keystore provided for signing. Using xwalk's keystore for debugging.
   Please use a valid keystore when distributing to the app market.
* Updating project with xwalk_core_library
* Checking for external extensions
* Copying native libraries for x86
* Building Android apk package with Crosswalk embedded (x86)
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.
0_65\lib\tools.jar

BUILD FAILED
C:\android-sdk\tools\ant\build.xml:597: The following error occurred while execu
ting this line:
C:\android-sdk\tools\ant\build.xml:716: The following error occurred while execu
ting this line:
C:\android-sdk\tools\ant\build.xml:730: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre1.8.0_65"

Total time: 4 seconds
Command "C:\apache-ant-1.9.6\bin\ant.bat release -f C:\Users\ADMINI~1\AppData\Lo
cal\Temp\Sample-2rcsnouw\build.xml -Dkey.store=C:\crosswalk-10.39.235.16\xwalk-d
ebug.keystore -Dkey.alias=xwalkdebugkey -Dkey.store.password=xwalkdebug -Dkey.al
ias.password=xwalkdebug" exited with non-zero exit code 1
作者: Atlers712    时间: 2015-11-14 15:18

作者: taroxd    时间: 2015-11-14 16:20
字面意思是:没有找到文件 C:\Program Files\Java\jre1.8.0_65\lib\tools.jar 请确认你的 JDK 已经完整安装。
作者: 英顺的马甲    时间: 2015-11-14 17:11
你的JAVA_HOME并没有指向JDK
作者: Atlers712    时间: 2015-11-14 18:41
taroxd 发表于 2015-11-14 16:20
字面意思是:没有找到文件 C:\Program Files\Java\jre1.8.0_65\lib\tools.jar 请确认你的 JDK 已经完整安装 ...

蟹蟹{:2_267:}




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1