Android Studio cannot resolve symbol but code executes correctly

前端 未结 9 2072
误落风尘
误落风尘 2020-11-27 04:06

I have recently created a library Jar file that I imported in my Android project. I am able to call functions and use classes that are present in this Jar file, but Android

9条回答
  •  鱼传尺愫
    2020-11-27 04:53

    Try following steps:

    1. Close your project then in your project folder delete project /.idea
    2. Delete /.gradle folder also
    3. Noe choose File option from menu on left top side of android studio
    4. Select the option: Invalidate Cache/Restart It will open a dialog
    5. Click on the first button with option: Invalidate and Restart

    After trying above options everything should be working fine.

提交回复
热议问题