Cannot resolve symbol AppCompatActivity - Support v7 libraries aren't recognized?

后端 未结 25 1723
情深已故
情深已故 2020-12-07 18:39

I\'m trying to figure out why the heck my Android studio isn\'t recognizing the AppCompat v7 library correctly. The import statement below shows up as gray and says there\'s

25条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-07 19:10

    The solution I followed is summarized in the below steps:

    1. From Build menu, select Edit Libraries and Dependancies

    1. Make sure you add the latest AppCompat package if not added

    1. After adding it, clean your project and rebuild it.

提交回复
热议问题