After renaming my project package name (with Refactor), I got this error:
Error:(7, 44) error: cannot find symbol class R
All of my R
Seems like, you changed the application package name but didn't change the import statements. So look for import statement of class R. It must be like
import .R;
If it's not a problem with import statements then look whether the R.java file has generated or not. It generally doesn't get generated if there is a problem with the application layout(xml) files. The R class file is generated only when all your xml layout files are correct.
Clean the project and check.