8

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

I am getting an error.

Jav_Rock
  • 22,059
  • 20
  • 123
  • 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,941
  • 35
  • 152
  • 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,163
  • 1
  • 7
  • 18
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,279
  • 13
  • 19