Android Studio 3.1 Cannot Resolve Symbol (Themes, Widget, attr, etc.) March 25, 2023 by Tarik Close the project and import it again. Worked for me today.