如何创建为Android V2地图释放键 [英] How to create release key for android v2 maps

查看:139
本文介绍了如何创建为Android V2地图释放键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试过低于code的调试键和其工作的罚款。当我做一个APK然后映射崩溃。在谷歌搜索后,我发现调试关键是在释放模式的工作。

I tried below code for a debug key and its working fine. When i make a apk then map is crashing. After searching in google i found debug key is work in release mode.

keytool -list -v -keystore "C:\Users\your_user_name\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

所以,我怎样才能创建V2地图释放键。请帮助我。

So,how can i create a release key for v2 maps. please help me.

推荐答案

我也没有这样做的机会,但我的理解应该怎样做是:

I didn't had the chance of doing that, but for my understanding what should be done is:

1 所有你需要导出你的项目首先为签名的应用程序

1. First of all you will need to export you project as a Signed Application:

右键点击您的项目 - > Android的工具 - >导出签名的应用程序包...

这将引导您完成向导,你就必须创建一个新的 release.keystore 使用密码或使用您之前创建的现有之一。

This will take you through wizard where you would have to create a new release.keystore with a password or use an existing one you created before.

2 发件人的过程中这一点应该是相同的一个,您使用 debug.keystore

2. From this point on the process should be identical to the one where you use the debug.keystore.

3 所有的创建调试API密钥和谷歌API控制台在这篇博客我写的描述它注册的步骤:

3. All the steps of creating a debug api key and registering it in Google API Console are described at this blog post I wrote:

谷歌地图API V2重点

4。请记住,使用 debug.keystore 不会给你想要的结果。

4. Just remember that using the debug.keystore will not give you desired result.

这篇关于如何创建为Android V2地图释放键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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