我正在尝试从konyone工作室构建一个小的helloworld表单,而构建应用程序时收到的错误信息如下:
compile:
[echo] Packaging the android Helloworld application
[exec] Buildfile: C:\workspace\temp\Helloworld\build\luaandroid\dist\Helloworld\build.xml
[exec] [taskdef] Could not load definitions from resource anttasks.properties. It could not be found.
[exec]
[exec] -set-mode-check:
[exec]
[exec] -set-debug-files:
[exec]
[exec] -check-env:
[exec]
[exec] BUILD FAILED
[exec] C:\Android\android-sdk\tools\ant\build.xml:401: Problem: failed to create task or type checkenv
[exec] Cause: The name is undefined.
[exec] Action: Check the spelling.
[exec] Action: Check that any custom tasks/types have been declared.
[exec] Action: Check that any <presetdef>/<macrodef> declarations have taken place.
[exec]
[exec]
[exec] Total time: 2 seconds
[11-10-2013 01:39:42]Ant build error=exec returned: 1
[11-10-2013 01:39:42]Build Generation failed for platform Android.
[11-10-2013 01:39:42]Total time taken: 15390 ms
[11-10-2013 01:39:42]Build Generation has failed for the following platforms:-->Android
[11-10-2013 01:39:42]<-----------Build Generation job is completed--------------->有人能告诉我如何摆脱这个问题吗?有没有人能解决这个问题...??
发布于 2014-02-10 13:26:25
这听起来确实像是Ant问题,而不是Kony问题。检查您是否遵循了Kony文档中的安装/配置说明:http://developer.kony.com/twiki/pub/Portal/Docs/Kony_Studio_InstallationGuide/Default.htm#Android.htm
发布于 2014-03-17 18:59:34
进入窗口->首选项->然后选择kony studio->检查构建选项
或者使用kony studio hello world getting start中的kony帮助
发布于 2014-03-31 18:27:53
JAVA_HOME C:\Program Files (x86)\Java\jdk1.6.0_38
ANT_HOME D:\apache-ant-1.9.3
PATH D:\sdk\tools;D:\sdk\platform-tools;D:\apache-ant-1.9.3\bin;C:\Program Files (x86)\Java\jdk1.6.0_38\bin;C:\Program Files (x86)\Java\jre6\bin;C:\Kony\ImageMagick;你需要在你的环境变量中设置一个路径,没有这些,你就不能进行构建生成。
https://stackoverflow.com/questions/19887151
复制相似问题