确保“Google Maps Android API v2”已启用。我在尝试实施Google地图时遇到此错误 [英] Ensure that the "Google Maps Android API v2" is enabled. I am getting this error when I try to Implement Google Maps
本文介绍了确保“Google Maps Android API v2”已启用。我在尝试实施Google地图时遇到此错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Google地图上工作,我收到这个错误。我做了以下事情:
$ b
-
获得了我的sha1指纹。
-
注册我的项目并获得我的项目密钥。
- 我不知道如何获得谷歌地图Android API v2启用,因为我尝试过的所有链接都是旧的,谷歌改变了它的网站设计。
请帮助我。我已经浪费了很多时间。
我的Logcat:
授权失败。请参阅developers.google.com/maps/documentation/android-api/start了解如何正确设置地图。
E谷歌地图Android API:在Google开发者控制台(console.developers.google.com)中
确保已启用Google Maps Android API v2。
确保存在以下Android密钥:
API密钥:AIzaSyBK8rKr9lCRLhzv68I4Q26G9pHHO ******
解决方案从错误很明显,你没有启用谷歌地图api的android。要启用
- 登录Google开发者控制台
- 从左侧面板中选择库选项。 li>
- 现在您可以看到所有API列表并转至Google Maps API并选择
Google Maps Android API。 - 现在您可以看到选项启用/禁用API。启用它。
我希望它对您有所帮助。
I am working on google maps and I am getting this error. I had done the following things:
Got My sha1 fingerprint.
Registered my project and got my project key.
I don't know to how to get Google Maps Android API v2 enable because all the links I have tried are old and Google had changed it's site design. Please help me. I already have wasted a lot of time on this.
My Logcat:
Authorization failure. Please see developers.google.com/maps/documentation/android-api/start for how to correctly set up the map. E/Google Maps Android API: In the Google Developer Console (console.developers.google.com) Ensure that the "Google Maps Android API v2" is enabled. Ensure that the following Android Key exists: API Key: AIzaSyBK8rKr9lCRLhzv68I4Q26G9pHHO******
解决方案From error it is clear that You did not enable google map api for android. To enable,
- Login google developer console
- Select Library option from left side panel.
- Now you can see all API list and go to Google Maps APIs and select Google Maps Android API .
- Now you can see option to enable/disable API. Enable it.
I hope it help you.
这篇关于确保“Google Maps Android API v2”已启用。我在尝试实施Google地图时遇到此错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文