There are 2 R
classes now in your app:
- your own's app
R
class (from your app's namespace). - zbar's
R
class
You should either sort out the import
instruction to make sure you import the right R
class or use a full namespace in front of R
.
Frage
I have just imported the zbar example project into eclipse. I have started the AVD, but when I go to run the zbar example I get a pop-up saying there are errors in the code.
When I went looking for errors the only ones I could find are the ones shown below
I removed the project from eclipse and re-downloaded the zip file and imported it all again but still have the same results. Has anyone else run into this problem ?
Lösung
There are 2 R
classes now in your app:
R
class (from your app's namespace).R
classYou should either sort out the import
instruction to make sure you import the right R
class or use a full namespace in front of R
.
Andere Tipps
The issue was with the wrong target build platform being selected when I was importing it.
Solution: