Cannot resolve symbol ‘Theme’ in styles.xml (Android Studio)

Another solution that worked for me with Android Studio 3.1.2:

delete these from build.gradle if you have them:

'com.android.support:appcompat-v7:27.1.1'
'com.android.support:design:27.1.1'

then sync,
then undo delete,
then sync again.

Leave a Comment