Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 3.0 cannot resolve symbol Theme

As stated in style.xml, there is a weird error, which shows Cannot resolve symbol 'Theme', which is quite strange.

See pic of the error :- enter image description here

My Project Specs:-

Using Android Studio 3.0

and gradle version 3.0.0

and distributionUrl=https://services.gradle.org/distributions/gradle-4.1-all.zip

Edit:-

Tried clearing the cache by going to File > Invalidate Cache/Restart > Invalidate and Restart, but to no avail, as the error persists.

like image 581
Pulkit Avatar asked Sep 05 '17 11:09

Pulkit


1 Answers

Had the same issue after upgrading to Android Studio 3.1 (EDIT: bug still present at v3.1.3). What worked for me was clicking File > Close Project and then reopening the project from Studio's dialog.

Android Studio's Entry Screen

like image 107
Ευάγγελος Μπίλης Avatar answered Oct 04 '22 01:10

Ευάγγελος Μπίλης