Unresolved reference, in wrong test scope - Android studio 3.5
Only workaround to fix this until issue 140375151 is resolved is this:
- Put the cursor on one of the affected references
- Type
alt/options + Enter
- Choose
Inspection "Unresolved reference, in wrong test scope"
- Choose
Edit inspection profile setting
- Remove the check from the inspection setting to disable it and click
OK
The unresolved references should no longer show as unresolved.
This Google issue may be related. https://issuetracker.google.com/issues/140375151