当我试图在netbeans 6.9.1中运行一个简单的android应用程序时,我收到以下错误:
**Creating output directories if needed...
Generating R.java / Manifest.java from the resources...
Compiling aidl files into Java classes...
compile:
C:\Program Files\Android\android-sdk-windows\tools\ant\main_rules.xml:361: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Compiling 1 source file to C:\Documents and Settings\JiggleVostro1310\My Documents\NetBeansProjects\FTPClient\bin\classes
Converting compiled files and external libraries into C:\Documents and Settings\JiggleVostro1310\My Documents\NetBeansProjects\FTPClient\bin\classes.dex...
=C:\Documents was unexpected at this time.
C:\Program Files\Android\android-sdk-windows\tools\ant\main_rules.xml:449: The following error occurred while executing this line:
C:\Program Files\Android\android-sdk-windows\tools\ant\main_rules.xml:199: apply returned: 255
BUILD FAILED (total time: 1 second)**
任何人都可以解释这意味着什么,以及如何解决这个问题。我是Android应用程序的新手
答案 0 :(得分:0)
我怀疑某些地方的Ant脚本中存在一个错误,并且某些内容无法正确处理包含空格的路径名。尝试将项目移动到My Documents
之外的目录,转移到C:\AndroidProjects\FTPClient
。
答案 1 :(得分:0)
= C:\ Documents 让我觉得你的设置不好。可能发生以下两件事之一:
我会检查你的构建属性和路径,以及任何包含的JAR文件或库项目的小错误。