can't resolve AppCompatActivity

后端 未结 30 1862
星月不相逢
星月不相逢 2020-12-04 17:43

After renaming application package name, Android Studio displayed this error can\'t resolve symbol AppCompatActivity

Things I tried: <

30条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 18:13

    In Android Studio 3.1.2, I have the same issue After renaming application package name. The following worked for me:

    Deleting the ".idea" folder, Then File -> Invalidate Caches/Restart.

提交回复
热议问题