生成谷歌地图发布API密钥 [英] Generating Google map Release API Key

查看:212
本文介绍了生成谷歌地图发布API密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序使用谷歌地图,我注册了一个谷歌地图的关键调试,它的工作。但现在,我需要在释放模式一个谷歌地图的关键,发布之前。我怎样才能得到它?

My app uses Google Maps, I signed up for a Google Maps key to debug, it worked. But now, I need a Google Maps key in release mode, before publishing. How can I get it?

推荐答案

您需要:

  1. 创建将用于出版,使用的Keytool自己的签名密钥:<一href="http://developer.android.com/guide/publishing/app-signing.html#cert">http://developer.android.com/guide/publishing/app-signing.html#cert

获取你新生成密钥的MD5指纹:<一href="https://developers.google.com/maps/documentation/android/mapkey#getfingerprint">https://developers.google.com/maps/documentation/android/mapkey#getfingerprint

Get the MD5 fingerprint of your newly generated key : https://developers.google.com/maps/documentation/android/mapkey#getfingerprint

提交签名这个环节,让您的谷歌地图键:<一href="https://developers.google.com/android/maps-api-signup?hl=fr">https://developers.google.com/android/maps-api-signup?hl=fr

Submit the signature to this link to get your Google Maps key : https://developers.google.com/android/maps-api-signup?hl=fr

导出您的应用程序与新创建的关键,在Eclipse中:右键点击你谟 - > Android的工具 - >导出签名的应用程序包

Export your application with your newly created key, in Eclipse : right click on your projet -> Android Tools -> Export signed application package.

小心将您的证书在安全的地方,因为你会需要它,如果你想发布您的应用程序在谷歌播放的最新情况。

Be careful to keep your certificate in a safe place, because you will need it if you want to publish an update of your app on Google Play.

编辑:

有关谷歌地图Android的V2,签约是一个有点不同。您将需要获得SHA-1的签名,并提供应用程序的包名称。谷歌的APi的帐户而且必要的。所有的信息都给出此页上:<一href="https://developers.google.com/maps/documentation/android/start?hl=fr#the_google_maps_api_key">https://developers.google.com/maps/documentation/android/start?hl=fr#the_google_maps_api_key

For the Google Maps Android V2, the signing is a little different. You will need to get the SHA-1 signature and provide the package name of your application as well. A Google APi account is moreover needed. All info are given on this page : https://developers.google.com/maps/documentation/android/start?hl=fr#the_google_maps_api_key

这篇关于生成谷歌地图发布API密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆