I study Android Studio at last lesson Google Maps Activity for the tutorial. The tutorial videos work on Google_maps_api.xml for define api key but I doesn't even find the it at the Project android section.
I applied the steps of this document. (https://developers.google.com/maps/documentation/android-sdk/start#api-key). I Only skiped to add it to project level build-gradle
buildscript {
dependencies {
// ...
classpath "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:2.0.0"
}
}
Anymore It works