-3

I'm using Eclipse juno and i have installed all plugs in. Everything was working fine, but this morning when i opened my project there wasn't R.java. I tried to create new project but in New project R.java was missing also. I tried everything(clean project,change to "wrap content"), but nothing. There are no errors because this is new project where single line of code isn't written, there is just some default code.

1 Answers1

1

Hey so this is a bug with eclipse refer to the thread for more deatils but basically: do not wrap any of your content but instead check your imports for import android.R this has been covered here already on SO R cannot be resolved - Android error basically the problem is

Note: Eclipse sometimes likes to add an "import android.R" statement at the top of your files that use resources, especially when you ask Eclipse to sort or otherwise manage imports. This will cause your make to break. Look out for these erroneous import statements and delete them.

Community
  • 1
  • 1
brendosthoughts
  • 1,645
  • 4
  • 21
  • 36