Good info to know. I've always used the Eclipse plugin to generate the
Android project, then copy/paste as needed for xml resource files. I was
about to reply that R.java should be generated for you by the ADT plugin. In
the case you are not using the plugin, such as another IDE or what not, how
does it get created? Is there a special build.xml ant file or something that
will do this?


On Thu, Jan 28, 2010 at 4:29 PM, Greg Donald <gdon...@gmail.com> wrote:

> On Thu, Jan 28, 2010 at 4:40 PM, Temitope Akinwande
> <takinwa...@gmail.com> wrote:
> > Look at your import statements at the top. Is there one that imports
> > android.R? If so, just delete that import statement.
> > Had this happen to me a few times when I just started with android.
>
> Yup.  It also happens sometimes when I copy a class file over from
> another project.  Easy to fix, but fairly confusing the first time it
> happens.
>
>
> --
> Greg Donald
> destiney.com | gregdonald.com
>
> --
> 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