Android Studio cannot resolve symbol but code executes correctly

前端 未结 9 2047
误落风尘
误落风尘 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:57

    This problem regularly generated in android 3.1. I have tried every possible way. But it resolved when i delete .gradle and .idea file and start Android studio which is already close.

    Android studio create .idea and .gradle file for your project again. After this click on sync project with gradle. Now everything works fine.

提交回复
热议问题