谷歌地图是不可见的在我的Andr​​oid应用 [英] google map is not visible in my android app

查看:149
本文介绍了谷歌地图是不可见的在我的Andr​​oid应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用我试图显示地图的当前位置。我跟着他的<一个指令href=\"http://www.mobisoftinfotech.com/blog/android/android-mapview-generate-api-key-using-java-keytool/\"相对=nofollow>链接

in my app i am trying to show the current location in a map. I followed the instructions in his link

当我通过运行配置运行从我的日食应用到我的设备,我可以查看地图,目前的地方,我位于

When i run the app from my eclipse to my device by the run config, I am able to view the map and the current place where i am located.

但是,当我创建我的应用程序的.apk文件和文件aligned.apk然后我不能够看到的地图。

But when i created a .apk and aligned.apk file of my app then i am not able to see the map.

当我是通过堆栈溢出搜索我就过来了以下<一个href=\"http://stackoverflow.com/questions/5217139/how-to-get-map-on-signed-android-application\">question

When i was searching through stack overflow i came over the following question

和遵循这些问题的答案,但仍然我不能够在地图上看到,它显示只有正方形
如何解决这个问题。

and followed those answers but still i am not able to see the map, it shows only a squares how to solve this issue

推荐答案

其更好这样做

Select the project in workspace-->rightclick---> click export--->export android apps-->next-->next--->enter keystore file name--->next--->enter key alis--->finish

这篇关于谷歌地图是不可见的在我的Andr​​oid应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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