> I am new to Android. I have opened the notepad tutorial and it worked
> very fine with Eclipse 3.4.0 under Windows XP but when I tried to open
> the Snake sample, it gave me an error " R cannot be resolved" I have
> noticed that there is no R.java in the project. What is I did wrong?

I can't speak specifically for Eclipse.

However, R.java is generated as part of the Android project build process.
If you haven't compiled the project yet, R.java probably does not exist.
Try building it, following the instructions on the Android Web site, and
see if that clears up your problem:

http://code.google.com/android/intro/hello-android.html
http://code.google.com/android/intro/installing.html#developingwitheclipse

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ -- Available Now!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to