Thanks Karthik,
Actually what I did is just deleting the Android project and creating
it again as specified in the HelloAndroid example, and it's working
well !

Benn,

On Oct 12, 12:27 am, "Karthik P" <[EMAIL PROTECTED]> wrote:
> You have missed out installing ANT and set the environment variables
> JAVA_HOME to jdk/bin dir and ANT_HOME to ant/bin dir. Set the PATH
> appropriately as per the 
> documenthttp://code.google.com/android/intro/installing.html
>
> Thanks,
> Karthik
>
> On Sat, Oct 11, 2008 at 9:59 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote:
>
>
>
>
>
> > Hello,
>
> > I just started with Android, I find it interesting.
>
> > I downloaded the Android SDK (C:\android-sdk-windows-1.0_r1).
> > I installed Eclipse 3.4.1 (Ganymede)
> > JDK 6 (jdk1.6.0_06) is already installed on my machine windows XP.
> > I installed Android Development Tools plugin.
> > In Window->Preferences->Android, I specified the SDK location "C:
> > \android-sdk-windows-1.0_r1".
>
> > I tried to follow the Hello Android example, and this is my source
> > code:
>
> > ----------------------------------------
> > package com.android.hello;
>
> > import android.app.Activity;
> > import android.os.Bundle;
> > import android.widget.TextView;
>
> > public class HelloAndroid extends Activity {
> >  /** Called when the activity is first created. */
> > [EMAIL PROTECTED]
> >  public void onCreate(Bundle savedInstanceState) {
> >      super.onCreate(savedInstanceState);
> >      TextView tv = new TextView(this);
> >      tv.setText("Hello, Android");
> >      setContentView(tv);
> >  }
> > }
> > ----------------------------------------
>
> > When trying to compile I got three errors:
>
> > 1-com.android.hello.HelloAndroid does not extend android.app.Activity
> > (on element AndroidManifest.xml)
> > 2-The project was not built since its build path is incomplete. Cannot
> > find the class file for java.lang.Object. Fix the build path then try
> > building this project (on element HelloAndroid)
> > 3-The type java.lang.Object cannot be resolved. It is indirectly
> > referenced from required .class files (on element R.java, file auto-
> > generated)
>
> > Please any help! I could not move further...
>
> > Thanks :)- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to