By avishekjoy88
on Sun, 01/12/2014 - 11:11
Hi,
I was trying to build the Vuforia samples. But I am getting this error R cannot be resolved to a variable.
This is for all the projects. On investigating I found
import com.qualcomm.vuforia.samples.BackgroundTextureAccess.Rimport com.qualcomm.vuforia.samples.Books.R; packages are missing from respective projects . I tried to import android.R but it seems those packages have something extra like about_screen etc. Could you please resolve this . ThanksAvishek
R cannot be resolved to a variable
First try Cleaning ( Project > Clean ) your project to generate R ( R = Resources )
If that doesn't work, here are some additional steps to investigate - http://stackoverflow.com/questions/7824730/r-cannot-be-resolved-to-a-variable
R cannot be resolved to a variable
Also, note that sometime Eclipse reports the R error because of other errors in the project (which prevents Eclipse from generating the R class correctly);
R cannot be resolved to a variable
Thanks for the help ! I have resolved this
R cannot be resolved to a variable
Ok, great to hear!
how you resolve it plz ??
how you resolve it plz ??