Google Maps Android V2 debug and release key

♀尐吖头ヾ 提交于 2019-12-23 04:13:16

问题


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


回答1:


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:



来源:https://stackoverflow.com/questions/19251155/google-maps-android-v2-debug-and-release-key

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!