Android Studio Doesn’t Recognize Gradle Libraries

Asked

Viewed 172 times

-1

I took a project that has several external dependencies, like facebook lib, even some of the android support itself. The design compiles normally and runs perfectly on the device. The problem is that all these references when used in the code are not found by the IDE, example in the screenshot below

Código fica em vermelho como não encontrando as classes, porém compila e roda perfeitamente

1 answer

0


If it runs normally even being like this, go to your Android Studio:

  • Click on "File"
  • Then under "Invalidate caches/ Restart"
  • And finally confirm in "Invalidate and Restart"

Browser other questions tagged

You are not signed in. Login or sign up in order to post.