2013-11-10 31 views
0

我试图建立从konyone工作室小HelloWorld的形式,在构建应用程序正在错误为:大楼错误你好konyone工作室的世界应用

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---------------> 

有人可以告诉我如何摆脱这个问题。 有人解决这个问题...?

+0

的[未能创建任务或类型checkenv原因的名称是未定义]可能重复(http://stackoverflow.com/questions/17074286/failed-to-create-task-or-type- checkenv原因最名称是-未定义) –

回答

0
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; 

你需要设置的路径在环境变量中,如果没有这些东西你不能做到建设产生。