Fix Google Maps not Showing in Released App

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 :

    1. Go to your Android Studio Project Folder.
    2. Open app –> src –> release –> res –> values
    3. There will be a file named google_maps_api.xml. Open it
    4. Copy your previous Google Maps API Key and paste it in :
      <string name=”google_maps_key” templateMergeStrategy=”preserve” translatable=”false”>
      Insert your key here
      </string>

Hope it will helps you. Cheers.

Please follow and like us:

Leave a Reply

Your email address will not be published. Required fields are marked *