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. */
@Override
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 :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---