Search code examples
androidgoogle-maps-api-2

Google maps api v2 key error


I recently changed my hard drive to my Pc and when I clone my project from github and add the google-play-services as a library I tried to open the google maps and I didn't get any error but nothing shown up. I can see only the zoom buttons and the my location icon. Do I have to regenerate the for the new ssd?


Solution

  • Yes you need to get your currently generated key from debug.keystore folder and register it via the Google API Console, here is a blog post I wrote on how to do just that:

    Generating Google Map API V2 key