See your import statements...is android.R being imported? Is so get rid of that. If not, make sure you are building everytime you make a resource file change, else set Eclipse to build automatically. I'm sure one of these will give you the solution.
On Tue, Feb 2, 2010 at 4:15 PM, Justin Anderson <[email protected]> wrote: > Seriously? Have you tried searching this group? Doing a simple search for > "R cannot be resolved" brings up a whole slew of posts about this already, > many of them which have the solution you seek... > > Anytime I get stuck on something for more than about an hour, I try > searching stack overflow and this group before I post a new question. 70-80% > of the time I will find an answer. > > ---------------------------------------------------------------------- > There are only 10 types of people in the world... > Those who know binary and those who don't. > ---------------------------------------------------------------------- > > > On Fri, Jan 29, 2010 at 4:33 AM, DredMonkey <[email protected]> wrote: >> >> I am using eclipse galileo, android sdk update manager 4. >> and i have all the other goodies needed installed on my system >> (gentoo). >> >> I am making use of eclipse plugins to create the project. >> after creation i get the following error message >> >> R cannot be resolved activity.java /test/src/test/one/test line 12 >> Java Problem >> >> I have been struggling with this for 2 days now and it is driving me >> mad. >> i have written a couple of hello-world apps on a windows based system >> for a quick test while waiting for my new. >> could this be s linux distro problem or is it something that is >> obvious and i am staring in the wrong direction. >> >> -- >> 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 >> [email protected] >> 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 > [email protected] > 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 [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

