无法建立我的应用程序 [英] unable to build my app
本文介绍了无法建立我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
喜World应用程序在仿真器上运行,但不会产生BUILD文件。
我收到此错误
goBlank:testFail:setupJavac:罐:
[回应]编译迫使符合最大设备兼容性支持的API /特性。这使得小
[回应] code尺寸和更广泛的设备支持
[复制]复制1文件E:\\雨林\\ RFL1 \\ rfl1-1 \\测试codenameone \\编译\\ tmp目录
[javac的] E:\\雨林\\ RFL1 \\ rfl1-1 \\测试codenameone \\的build.xml:131:警告:includeantruntime没有设置,默认为build.sysclasspath =最后;设置为false可重复的构建
[javac的] 3编译源文件到E:\\雨林\\ RFL1 \\ rfl1-1 \\测试codenameone \\编译\\ tmp目录
[罐子]大厦罐子:E:\\雨林\\ RFL1 \\ rfl1-1 \\测试codenameone \\ DIST \\测试codenameone.jar
[javac的] E:\\雨林\\ RFL1 \\ rfl1-1 \\测试codenameone \\的build.xml:155:警告:includeantruntime没有设置,默认为build.sysclasspath =最后;设置为false可重复的构建构建失败
E:\\雨林\\ RFL1 \\ rfl1-1 \\测试codenameone \\的build.xml:155:类没有找到:javac1.8总时间:3秒
解决方案
您需要Eclipse本身到JDK 1.7下运行(这需要通过Eclipse的ini文件中进行配置)。另外,还要确保JAVA_HOME指向JDK 1.7。
Hi World App is running in simulator but not generating the BUILD files.
I am getting this error
goBlank:
testFail:
setupJavac:
jar:
[echo] Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller
[echo] code size and wider device support
[copy] Copying 1 file to E:\rainforest\rfl1\rfl1-1\testcodenameone\build\tmp
[javac] E:\rainforest\rfl1\rfl1-1\testcodenameone\build.xml:131: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 3 source files to E:\rainforest\rfl1\rfl1-1\testcodenameone\build\tmp
[jar] Building jar: E:\rainforest\rfl1\rfl1-1\testcodenameone\dist\testcodenameone.jar
[javac] E:\rainforest\rfl1\rfl1-1\testcodenameone\build.xml:155: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
BUILD FAILED
E:\rainforest\rfl1\rfl1-1\testcodenameone\build.xml:155: Class not found: javac1.8
Total time: 3 seconds
解决方案
You need Eclipse itself to run under JDK 1.7 (this needs to be configured via the Eclipse ini file). Also make sure JAVA_HOME points to JDK 1.7.
这篇关于无法建立我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文