Java 安卓系统的问题
我正在使用netbeans 7,我正在运行这段代码Java 安卓系统的问题,java,android,netbeans-7,netbeans7.0,Java,Android,Netbeans 7,Netbeans7.0,我正在使用netbeans 7,我正在运行这段代码 package com.helloworld; import android.app.Activity; import android.os.Bundle; public class MainActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundl
package com.helloworld;
import android.app.Activity;
import android.os.Bundle;
public class MainActivity extends Activity
{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
我得到了一个错误
Creating output directories if needed...
Compiling aidl files into Java classes...
Compiling RenderScript files into Java classes and RenderScript bytecode...
Generating R.java / Manifest.java from the resources...
compile:
G:\android-sdk\tools\ant\main_rules.xml:384: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Compiling 1 source file to D:\java programs\Android\HelloWorld\bin\classes
Converting compiled files and external libraries into D:\java programs\Android\HelloWorld\bin\classes.dex...
=D:\java was unexpected at this time.
G:\android-sdk\tools\ant\main_rules.xml:486: The following error occurred while executing this line:
G:\android-sdk\tools\ant\main_rules.xml:203: apply returned: 255
BUILD FAILED (total time: 1 second)
这可能是由于任何路径中的某些空格造成的 在这里找同样的