Do you have Eclipse set to build automatically? Else, see Xavier's post in this thread
On Fri, Jan 29, 2010 at 4:39 AM, DredMonkey <akafri...@gmail.com> wrote: > hmmm i am also experiancing the r.layout.main problem. > i am making use of the android eclipse pluging. > and there is no import android.R; in my code. > > > On Jan 29, 12:54 pm, André <pha...@hotmail.com> wrote: >> Ok, sweet. I tried that and made the red line grow smaller. But now I >> realised that on one of the project R.java is missing and I'm quite >> sure I haven't deleted it by mistake. So now it's just a red line >> under the capitol R in the class files. >> Is there a way to force eclipse and the android plug-in to create a >> R.java file automaticly? >> >> regards >> André >> >> On Jan 29, 9:09 am, Temitope Akinwande <takinwa...@gmail.com> wrote: >> >> > This might be good information to check out. >> > I haven't tried it myself as I have always used the ADT plugin. >> >> >http://developer.android.com/guide/developing/other-ide.html >> >> > On Thu, Jan 28, 2010 at 5:52 PM, Kevin Duffey <andjar...@gmail.com> wrote: >> > > 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 >> > >> 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 > > -- > 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 > -- 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