skip to Main Content

Since I got my Mac, I’ve encountered some problems when pulling my projects from Github.
The app still works even though Android Studio does not recognize some classes.
However, it is very annoying that I have to remove the import lines and write them again every time I pull my project from Github.
Could the problem be that I use a Mac while my colleagues who work on the same project use Windows?

enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    My problem was solved after I cleared the system cache.
    If you have the same problem, just follow these steps:

    1. From the main menu, select File.
    2. Click invalidate Caches/Restart.
    3. Click Invalidate and Restart.

  2. Maybe try rebuilding the project (Build -> Rebuild Project). Hopefully that helps.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search