EDIT 2:
The problem is being caused by this dependency in my gradle:
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
This should not be happening, because it is a necessary dependency.
EDIT:
I now know why this is happening, but still don't know a fix. When I set my gradle build tools to 3.6.2 I get no errors, however upgrading to 4.0.0 gives me these errors.
ORIGINAL:
I don't know how this happened, but a few days ago this was not an issue and now it just won't go away. Android studio highlighted a bunch of lines red, with no error suggestions when I go to "show context actions", and everything is working perfectly fine (App is running with 0 errors; building the project has 0 compile errors; etc). The red highlights seem to be related to Activity based commands.
Everything I have tried:
- clean and rebuild project
- invalidate caches and restart
- delete the .idea and .gradle files and then resync project
These error highlights aren't causing any errors, but are really annoying.


