alright im sure i do have the directory and the file, but i'll check the
console

On Wed, Jul 14, 2010 at 4:33 PM, Mark Murphy <mmur...@commonsware.com>wrote:

> You presumably do not have a res/layout/main.xml file in your project.
> Either that, or Eclipse is having problems otherwise processing your
> resources -- check your console for errors.
>
> On Wed, Jul 14, 2010 at 5:29 PM, Raul Martinez <raul5...@gmail.com> wrote:
> >
> >
> > public class home extends Activity {
> >     /** Called when the activity is first created. */
> >     @Override
> >     public void onCreate(Bundle icicle) {
> >         super.onCreate(icicle);
> >         setContentView(R.layout.main);
> >
> >         Button word=(Button)findViewById(R.id.button1);
> >     }
> > }
> >  i have this code but eclipse keeps telling me R.layout.main cannot be
> > resolved, any ideas what might be wrong?
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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