That's what I had to do as well.

The sequence of steps to reproduce the error is File -> New -> Project
-> Android Project, check 1.5 or 1.5 with google apps -> fill in the
rest of the fields -> build.

For whatever reason, it doesn't like the R.java file.

Deleting the R.java file and rebuilding works, and ends with
"[2009-06-14 13:31:34 - Foo] R.java was removed! Recreating R.java!".
When it recreates the R.java file, it's happy.

I think the Android Eclipse plug-in is initializing projects with
defective R.java files.

On May 30, 1:19 pm, Luis Alberto Pérez García <[email protected]>
wrote:
> I know nothing about 1.1, I've started on 1.5 but I've had that problem
> every time I make a "clean" on my project (generated on 1.5 from
> eclipse) to solve it I just delete (from eclipse itself) the R.java file
> (on gen/blabla/blabla...) and then "build" the project.
>
> After doing that everything works fine, give it a try and tell us ;)
>
> Luis.
>
> El sáb, 30-05-2009 a las 10:08 -0700, Francois escribió:
>
> > Hello,
>
> > I have searched the forums, but none of the solutions proposed cured
> > my problem.
>
> > Since I have upgraded to version 1.5 of the dev kit (and updated my
> > Eclipse plugin), I cannot compile my project.
> > I get this error, followed by :
>
> > Project 'RuntimeAndroid' is missing required source folder 'gen'
> > The project cannot be built until build errors are resolved
>
> > This is very strange, as after the build (which had errors) I HAVE a
> > gen folder in my project! And the subdirectories of this gen folder
> > have been created (com\clickteam\runtime) and a R.java file is present
> > in the folder with a correct content!
>
> > Something is definitively going wrong here.
>
> > Can you help me? I am stuck...
>
> > Francois
--~--~---------~--~----~------------~-------~--~----~
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