Fix: Cannot resolve Symbol Java Android Studio

To fix the error, delete and import again all Java imports by going to File > Settings > Editor > General > Auto Import > Java > Click both options & Delete all the import and error Cannot resolve Symbol Java Android Studio would be fixed.

Follow below steps one-by-one to fix the issue:

  1. File > Settings > Editor > General > Auto Import > Java
    Click on the two options under java
  2. Delete all the imports
  3. Wait for the imports to kick in

hope above steps helped you to fix the error Cannot resolve Symbol Java Android Studio error.