Meaningless Drivel is fun!
The moose likes Android and the fly likes Making android apps using netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Making android apps using netbeans" Watch "Making android apps using netbeans" New topic

Making android apps using netbeans

vinit mav

Joined: May 14, 2011
Posts: 7
I just installed nbandroid plugin for netbeans 6.9.1 but when i run the below code

package com.testing123;

import android.os.Bundle;

public class MainActivity extends Activity
/** Called when the activity is first created. */
public void onCreate(Bundle savedInstanceState)

I get the following error:

Compiling aidl files into Java classes...
Compiling RenderScript files into Java classes and RenderScript bytecode...
Generating / from the resources...
C:\Android\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 C:\Documents and Settings\Vinit\Desktop\AndroidApplication1\bin\classes
Converting compiled files and external libraries into C:\Documents and Settings\Vinit\Desktop\AndroidApplication1\bin\classes.dex...
=C:\Documents was unexpected at this time.
C:\Android\android-sdk\tools\ant\main_rules.xml:486: The following error occurred while executing this line:
C:\Android\android-sdk\tools\ant\main_rules.xml:203: apply returned: 255

I browsed the net and found that i had to change includeantruntime attribute in some xml file.I did'nt understand how to do and what to do
can anyone tell me how can i solve this error?
I agree. Here's the link:
subject: Making android apps using netbeans
It's not a secret anymore!