简体   繁体   English

Google Maps API密钥-Android

[英]Google Maps API Key - Android

I currently have an API key for Google Maps Android SDK. 我目前有Google Maps Android SDK的API密钥。 I was unsure whether I need both a separate key for debug and release. 我不确定是否需要用于调试和发布的单独密钥。 I saw mention of another post (linked below) stating that you CAN use the same key for both, but what are the drawbacks to this? 我看到提到另一篇文章(在下面链接),提到您可以为两者使用相同的密钥,但是这样做有什么弊端? The app will not be consumed by a large number of users, as I only intend for it to be showcase it to prospective employers. 该应用程序不会被大量用户使用,因为我仅打算将其展示给潜在的雇主。

Android Google Maps v2 - Debug key vs Release key Android Google Maps v2-调试键与发布键

You don't need a separate key. 您不需要单独的密钥。 The drawback is that you can't differentiate the statistics on your Google Dev page because you don't know which request comes from debug or release. 缺点是您无法区分Google Dev页面上的统计信息,因为您不知道哪个请求来自调试或发布。 Only matters if those statistics are really important for you to analyze. 仅当这些统计数据对于您进行分析非常重要时才重要。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM