After renaming application package name, Android Studio displayed this error can\'t resolve symbol AppCompatActivity
can\'t resolve symbol AppCompatActivity
Things I tried: <
Open build.gradle file and in your dependencies and
Change file with
implementation 'androidx.appcompat:appcompat:1.0.0-beta01'
This worked for me..