The code looks ok... you'll need to provide the specific error.

On the left side of the screen there should be a little red x where
the error is.  If you hover over it, it should tell you what the
problem is.

Or, you can look for a tab called "problems" in one of the toolbar
areas.  If you can't find it you can go to Window > Show View > Other
> General > Problems to open it.  Then you can see where all your
errors are, double click them and it will take you to the point in
code where the error is.


On Dec 9, 1:04 pm, "v.beh...@gmx.de" <v.beh...@gmx.de> wrote:
> Hello,I`m new with Eclipse and I have got some questions about it.
> I`ve already installed Eclipse GANYMEDE with Android.
> And on the pagehttp://code.google.com/android/intro/hello-android.html
> you can see how to make a Hello-Android project.
> But if I edit HelloAndroid.java with this 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);
>    }
>
> }
>
> then there`s always an error massage,like this:
>
> Your project contains error(s),please fix them before running your
> application.
>
> Does anyone konow why it`s so?
>
> Please answer me!!!
>
> Thank you in advance!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to