Halo guys, A few days ago i got an error in my Android Studio Project. Not an error maybe but a bug 😀 . The bug was when i’m debugging my project into my android phone, the maps it still showing. But when i Generating the Signed APK to be installed manually in our phone, the maps did not showing.
To solve this, we need to make sure that we’ve got the right Google Maps API Key for our application. The next step will be :
- Go to your Android Studio Project Folder.
- Open app –> src –> release –> res –> values
- There will be a file named google_maps_api.xml. Open it
- Copy your previous Google Maps API Key and paste it in :
<string name=”google_maps_key” templateMergeStrategy=”preserve” translatable=”false”>
Insert your key here
Hope it will helps you. Cheers.