diazazar
diazazar

Reputation: 542

Can't see google map in application anymore

I recently re-installed my windows and had to remove the old adb in order to run the application on my mobile device. My application uses google maps api v2 but now I can't see the map, only the zoom buttons. Do I need to get a new api key?

Upvotes: 0

Views: 69

Answers (2)

MaciejGórski
MaciejGórski

Reputation: 22232

You don't need new API key.

You may generate new SHA-1 from your current debug.keystore and attach it to the existing API key. Removing old SHA-1 is optional, but as you don't need it, you may remove it.

Upvotes: 0

Thibault D.
Thibault D.

Reputation: 10005

Your previous API key was linked to the debug key in you debug keystore located at:

C:\Users\<username>\.android\debug.keystore

If you've wiped out that keystore by re-installing ADB then you need to get a new API key for that new debug key.

Upvotes: 1

Related Questions