Red highlight means Cannot resolve symbol \'Theme\'
<
I had added appcompatv7 project as a module but I have forgotten to show it to my application module. Just I have realized and fixed. Now it doesn't alert me anymore. Thanks for your reply, tritop.
It's very weird but I had the dependency in my .gradle.
To solve the issue I deleted it(//commented), sync, get all error because of it, put the dependency again, sync again. Then the problem was gone!
Error should be resolved now.
If that did not resolve, then try below
appcompact-v7
dependency line and sync.appcompact-v7
dependency and sync.Issue must be resolved!
Just delete the dependencies below and sync. Paste them again and sync.
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
This is how I solved it:
.idea
directorycaches
and libraries
directoriesShould be OK now.