Google Maps Android V2调试和释放键 [英] Google Maps Android V2 debug and release key

查看:207
本文介绍了Google Maps Android V2调试和释放键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近从Google Maps Android V2获得了发行版;所以在从eclipse导出签名APK之前我更新了清单,将调试API密钥从GMaps更改为Release API密钥。



几小时之后,我需要调试一些东西,所以我在debug上运行了应用程序>但是我没有将Manifest API密钥更改回调试器一个。就我而言,该应用程序是使用调试密钥机器签名的,但它包含来自GMaps API的发行版本。据我所知,应该是不工作。 GMaps DID工作。所以现在我很困惑你可以在新的API(版本2)中使用相同的密钥来进行多个sha-1指纹的拷贝。

解决方案



可以在API控制台中配置,API密钥同时具有您的调试和释放密钥库指纹,如下所示:




I recently got the release key from Google Maps Android V2; So before exporting the signing APK from eclipse; I updated the manifest, changing the debug API key from GMaps to the Release API keys.

Hours later I needed to debug something, so I ran the app on debug but I didn't change the Manifest API key back to the debug one. As far as I am concerned, the app is signed with the debug key machine, but it contains the release key from GMaps API. As far as I know, it was supposed NOT TO WORK. The GMaps DID work. So now I'm confused. Could you explain please

解决方案

In the new API (Version 2) you can have the same key for multiple sha-1 fingerprints.

Can it be that you have configured in your APIs Console, the API key with both your debug and release keystore fingerprint like so:

这篇关于Google Maps Android V2调试和释放键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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