I have the same problem and I solve it by refresh the project, I use eclipse 3.6.1.
I get that message on new projects, but then if I go out and then back into Eclipse the problem goes away...
-jerry
I have the same problem and I solve it by refresh the project, I use eclipse 3.6.1.
I am totally newbie with android as i develop on iphone.
I would have my android application starting on an index.html or main.html file and i don't know how to ask android to launch this file at start of application.
Could somebody help me ?
If anyone is still having this problem, I believe I have found the solution. I had to recreate my project, and the gen directory was missing, so I was also getting this error.
The first thing is even if you create the gen directory, the structure is not complete. Using the facebook android plugin as an example it is called com.facebook.android. In order for it to compile you will need the directory tree gen/com/facebook/android/
The Eclipse environment is very fussy about anything being added out side of it's tool, so if you add these directories on the OS side, you will need to right click on the project and choose Refresh, it also has the quick key F5 assigned.
Now Eclipse may complain that it can't find the reference to R.java. On the menu click Project -> Clean... and it will wipe all the pre-built files and build them fresh.
Bookmarks