Do this-> 1. Remove the statement which is importing "R" 2. Clean the project from Project -> Clean 3. Rebuild.
On Friday, April 19, 2013 7:18:30 AM UTC+5:30, Jacob Bosarge wrote: > > I am having trouble with the findViewById(); > > Here is the code > > > <https://lh4.googleusercontent.com/-BiNog3lL8Hg/UXChRHQPrwI/AAAAAAAAAdg/YjIIO855dlM/s1600/Capture.PNG> > > And here is the XML code > > <https://lh4.googleusercontent.com/-BiNog3lL8Hg/UXChRHQPrwI/AAAAAAAAAdg/YjIIO855dlM/s1600/Capture.PNG> > > > <https://lh3.googleusercontent.com/-ZBm0w3E4ybA/UXChrXfhoVI/AAAAAAAAAdo/ctrwzFEtLfI/s1600/Capture.PNG> > > When I type in "findViewById(R.id.) it does not give me my IDs like usual. > It gives a list including "addtodictionary:int", "background:int", > "button1:int". I have no clue why it will not recognize my IDs. I would > appreciate any help! > > > > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

