i got an email which solved the first "R cannot be resolved to a variable" from Chuck Krutsinger, who has been very patient with this newbie:
The import you refer to is not technically a bug. The compiler is looking for a file named R, which it will find in the "gen" directory if your IDE has generated it. So, follow these steps: 1) On the Project menu, make sure Build Automatically is NOT checked. 2) Clean the project in question, making sure that the build checkbox is NOT checked. 3) Remove the import for R.java 4) On the Project menu, select Build Automatically. At this point, you should not need the import because the file R.java should have been generated and placed in the "gen" directory. If at this point you do a Ctrl-Shift-O it should not put that import back. If you leave the Build Automatically selected, you should not see this problem at all any more. doing the "clean" command while "build automatically" was Not checked seems to have fixed the first error, although i still have 2 more, thank you Chuck. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en