AndreiBogdan
AndreiBogdan

Reputation: 11164

Android Studio doesn't see Android specific classes

I tried with Invalidate caches / restart, i tried cleaning the project, rebuilding, syncing with Gradle ... nothing works. Android studio just went berzerk. And it's for all projects, not just this one

enter image description here

Everything's red !

enter image description here

These are set properly ... i guess..

enter image description here

This is the version i'm using

enter image description here

Ideas ?! I can't work like this

EDIT

Also ... this seems to be happening on a project... what is going on ?!

enter image description here

Upvotes: 0

Views: 307

Answers (2)

Asad
Asad

Reputation: 11

this worked for me

  1. invalidate cache/restart
  2. clean build
  3. close and reopen project

Upvotes: 0

Akash Pal
Akash Pal

Reputation: 1115

The following steps helps

Close your project, and

in your project folder delete project/.idea

Delete ~/.gradle folder.

Open the project again. Everything should be solved.

Edit: as a last resort reinstall the IDE"

Upvotes: 1

Related Questions