android studio cannot resolve symbol xxxx
- Close Android Studio
- Go to C:\Users*your username*
- Locate the Android Studio settings directory named .AndroidStudioX.X (X.X being the version)
- Rename it to something like old.AndroidStudioX.X
- Start Android Studio, and when it asks if you want to import settings, choose the old directory