It is a basic question, but let me ask you anyway, do you have the ADT
installed in Eclipse?

When you expand the project do you see an R.java in a sub directory
similar to what is at the following url?

http://www.satyakomatineni.com/akc/filestorage/satya/documentfiles/3279/two-R-java.gif

Perhaps, give your directory structure in that project and probably
the contents of the R.java file.

Satya Komatineni
http://www.satyakomatineni.com
http://www.androidbook.com

On Tue, Jul 20, 2010 at 6:31 PM, Marc <[email protected]> wrote:
> Hi.
>
> I'm an Android development newb, and I got a problem with Eclipse. I
> tried a few tutorials, but I can't run the tutorial-apps because it
> pops up with this error: "R cannot be resolved" .
> I've searched a lot of different fora, where people describes the same
> problem, but I just can't fix it.
> A lot of people recommend unchecking "Build automatically", Cleaning
> and rechecking "Build automatically", people also suggest that it's a
> line that says "import R." that causes the problem, but it feels like
> I've tried everything and I still can't make it work...
>
> I use this SDK : http://developer.android.com/sdk/index.html
> along with 3 different versions of Eclipse, but it's the same error-
> message i get in every version.
>
> NB.: I don't have a .classpath file, nor do I have a .project file.
> Could that cause the problem ?
>
>
> Help is greatly appreciated.
>
> Thanks.
>
> --
> 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 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

Reply via email to