Earlier versions of Android Studio allowed the developer to create a project using the Google Maps Activity template as detailed on Google's Maps SDK for Android Quickstart. However, Android Studio Flamingo does not list a Google Maps Activity template when creating a new phone and tablet project:
So what should a developer do instead to create a Google Maps Activity?
Android Studio Flamingo 2022.2.1 does not provide Google Maps Activity project from the start, however you may start New Google Maps Views Activity after you created new project.
Steps are:
Do not forget to get your Google Map API key from https://console.cloud.google.com/ before running your project.
Hope that helps.