简体   繁体   中英

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?

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM