如何配置的Andr​​oid地图SDK V2使用不同的密钥进行生产和发展?

编程入门 行业动态 更新时间:2024-10-07 20:36:38
本文介绍了如何配置的Andr​​oid地图SDK V2使用不同的密钥进行生产和发展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想自动设置不同的Andr​​oid地图API V2键进行开发和生产。

I want to automatically set different android map api V2 keys for development and production.

推荐答案

登录到谷歌API控制台 在简单API访问,点击编辑允许Android应用程序......右侧 每行输入一个SHA-1指纹像指示说:

Log in to Google APIs Console Under "Simple API Access" click "Edit Allowed Android apps..." on the right side Enter one SHA-1 fingerprint per line like the instructions say:

一SHA1证书指纹和包名每行(用分号分隔)。例如: 45:B5:E4:6F:36:AD:0A:98:94:B4:02:66:2B:12:17:F2:56:26:A0:E0; com.example 45:B6:E4:6F:36:AD:1A:98:94:B4:02:66:2B:12:17:F1:56:26:A0:E0; com.example

"One SHA1 certificate fingerprint and package name (separated by a semicolon) per line. Example: 45:B5:E4:6F:36:AD:0A:98:94:B4:02:66:2B:12:17:F2:56:26:A0:E0;com.example 45:B6:E4:6F:36:AD:1A:98:94:B4:02:66:2B:12:17:F1:56:26:A0:E0;com.example"

现在,只要使用同一个简单的API密钥,它会为您的调试和发布证书,而无需改变任何东西。

Now, just use the same "Simple API key" and it'll work for your debug and publish certificate without having to change anything.

更多推荐

如何配置的Andr​​oid地图SDK V2使用不同的密钥进行生产和发展?

本文发布于:2023-11-28 03:08:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1640728.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:密钥   地图   oid   Andr   SDK

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!