try remove first import statement:
import android.R;

then compile again

Regard,
meojunior

On 26 Tháng Mười Hai 2008, 21:06, AndroidBegins <[email protected]>
wrote:
> package com.first;
>
> import android.R;
> import android.app.Activity;
> import android.os.Bundle;
>
> public class Testing extends Activity {
>     /** Called when the activity is first created. */
>     @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         setContentView(R.layout.main); 
> <<<<<<<<<---------------R.layout.maincannotberesolved
>     }
>
> }

--~--~---------~--~----~------------~-------~--~----~
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