8

I have the emergency live tracker sample apk file. So I run that application via eclipse.

I am getting an error.

Jav_Rock
  • 21,667
  • 19
  • 119
  • 164
murali
  • 119
  • 1
  • 3
  • 7

3 Answers3

9

Just clean your project and then rebuild it. That will automatically generate a new R file.

RoflcoptrException
  • 51,085
  • 34
  • 149
  • 200
2

I had that problem and it turned out to be some weird side-effect of me not using the proper Java compiler: I used to use 1.5 for earlier SDK versions but I had to use Java 1.6.

xmjx
  • 1,138
  • 7
  • 17
0

Right Click on Project->Bulid Path->Configure Build Path ther you see error android-support-v4.jar remove this library and add library again this works fine for me.

Muhammad Usman Ghani
  • 1,281
  • 13
  • 19