我的应用程序转换成.apk文件它不会显示谷歌地图 [英] convert my application into .apk file it will not show google map

查看:230
本文介绍了我的应用程序转换成.apk文件它不会显示谷歌地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是新来的Andr​​oid应用程序的开发。我做了谷歌地图V2,以显示我的当前位置使用GPS。

Hi i am new to android application development. I did a google map v2 to show my current location using GPS.

它会正常工作,当我与移动使用USB电缆测试
  但问题是,当我我的申请转换成的.apk它表示读取我的GPS电流>的位置,但并没有显示在地图

It will work fine when i testing with mobile using USB cable but the issue is when i convert my application into .apk it will retrive my gps current >location but did not show the map

任何人都可以帮助解决我的问题?

Can anyone help to resolve my problem?

推荐答案

有关生成.apk文件,您必须要使用密钥库&安培; 地图API KEY 从同一台机器。如果这两个来自不同势的机器,那么不同势它的LL heppend .. (平均MAP未显示)

for generation .APK you must have to use keystore & MAP API KEY from same machine. if this two are diffrent from diffrent machine then it 'll heppend.. (mean MAP are not show)

如果你有不同势密钥库,那么你可以从密钥存储地图API密钥。

if you have diffrent keystore then you can get MAP API Key from Keystore.

检查下面的链接:

如何从Java的密钥工具,得到了MD5指纹不仅SHA-1?

http://stackoverflow.com/a/5262845/1168654

编辑

打开这个链接:遵循<$ C步骤$ C>获取SDK调试证书的MD5指纹然后再从这个注册的链接:即使用在映射键之后,code看到heppend

open this link: follow steps on "Getting the MD5 Fingerprint of the SDK Debug Certificate" then sign up from this link : after that use that map key in you code see what heppend.

这篇关于我的应用程序转换成.apk文件它不会显示谷歌地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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