can't resolve AppCompatActivity

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

    head over to build.gradle(module app)

    if you hover your mouse over to com.android.support:appcompat a popup will say new version is available just replace in the existing version number with the new version number press sync now and you are good to go p.s nothing else worked for me on 2 pc's

提交回复
热议问题