Intellij Cannot resolve symbol on import

前端 未结 29 1737
耶瑟儿~
耶瑟儿~ 2020-11-30 18:10

This problem happens intermittently for different libraries and different projects. When trying to import a library, the package will be recognized, but the class name can\'

29条回答
  •  有刺的猬
    2020-11-30 19:02

    What did it for me is to edit the package file in the .idea folder as I accidentally added sources to this jar library and android couldn't resolve it by deleting the sources line as marked in the b/m picture library error.

    Then rebuild the gradle and bam problem solved.

提交回复
热议问题