I ran into the same issue and this worked for me so let me know how it goes.
- Right click on your project and open up
Module Settings
- Click facets.
- Add
Android-Gradle
and apply. - Close and reopen project and rebuild.
I ran into the same issue and this worked for me so let me know how it goes.
Module Settings
Android-Gradle
and apply.