can't resolve AppCompatActivity

后端 未结 30 1870
星月不相逢
星月不相逢 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:24

    I was having the same issue, but when I did Invalidate cache/restart option it worked fine for me.

    First try to clear all your build files

    Build->Clean

    if it doesn't work try this option

    File -> Invalidate cache/Restart

提交回复
热议问题