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
R
Try to change application Id in build.gradle. Or remove any imports of com.***.R in your activity and let android studio to automatically import for you.