问题描述
我开发了一个应用程序来在Google地图上显示我的位置。当我运行该程序时,显示下面的错误。
但我无法找到一种方法启用Google Maps Android API v2。我发现了同样的问题。我不清楚如何遵循这一步骤。
您可以帮我解决这个问题吗?在开发者控制台中转到API管理器
$ b
您将需要一些API密钥。
- 转至凭证。
- 选择创建凭证并选择API密钥和Android密钥。 / li>
- 在 +添加软件包名称指纹中,编写软件包名称(com.sourcey.materialwhatever)和日志中显示的指纹(E4:...: B9)。
在安装android sdk时,您可能会得到一个调试密钥库,您可以使用以下命令检查指纹:
($ HOME / .android / debug.keystore是默认位置)
keytool -list -v -keystore .android / debug.keystore
I have developed an application to display my location on google map. When I run the program, its showing the below error.
But I couldn't find a way to enable "Google Maps Android API v2". I have found a question on the same. I am not quiet clear on how to follow that step.
Could you please help me solve this?
In the developer console go to API Manager
Fist you will need some some API Keys.
- Go to Credentials.
- Select Create credentials and choose "API key" and "Android key".
- In the next screen put any name for your credential.
- In the +Add package name fingerprint write your package name (com.sourcey.materialwhatever) and the fingerprint that appears in your log (E4:...:B9).
Now from the API Manager go to Overview
- Look for "Google Maps Android API" and enable it.
You probably got a debug keystore when you installed android sdk, with it you could check your fingerprint using the command:($HOME/.android/debug.keystore is the default location)
keytool -list -v -keystore .android/debug.keystore
http://developer.android.com/intl/es/tools/publishing/app-signing.html
这篇关于如何启用“Google Maps Android API v2”在开发者控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!