After renaming application package name, Android Studio displayed this error can\'t resolve symbol AppCompatActivity
Things I tried: <
I've noticed that Android Studio 3.1 doesn't pull in the support libraries seamlessly. Here's how to trigger it. Update the support library version to 27.x.x
newer version (you can get the new version info by mouse hover over the version number next to implementation under dependencies ) manually in the module's build.gradle
file under dependencies. Then re-sync the project. Find the Visual Solution(Image) from this Link