Android Studio says some classes have not been used and almost all code is red

0

I was fiddling a bit with the code, when suddenly it was this way you can see in the image below. I have no idea what caused this, I tried Clean and Rebuild and nothing.

Most of these classes that it points to as unused, are being used and where they are used, it turns red giving Cannot find Symbol . Highlight that it still compiles and runs the code.

    
asked by anonymous 31.07.2018 / 15:19

1 answer

0

Problem solved! Since the dependencies were already there in Gradle, I had to remove them and re-enter them and do the Sync Project . And so it has been corrected successfully !!!

    
17.08.2018 / 11:15