谷歌地图将不会出现在Android设备 [英] Google Maps won't appear on Android Device

查看:109
本文介绍了谷歌地图将不会出现在Android设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我试图使工具Android的一个简单的谷歌地图应用程序和地图没有显示。我看到的是灰色的屏幕。而我从LogCat中这些错误消息

So I was trying to implements make a simple Google Map application for Android and the maps didn't show. All I see is grey screen. And I get these error message from LogCat

05-27 22:04:24.569: E/dalvikvm(12361): No free temp registers
05-27 22:04:24.569: E/dalvikvm(12361): Jit: aborting trace compilation, reverting to interpreter
05-27 22:04:32.869: E/AndroidRuntime(7051): /system/csc/feature.xml ==> cannot open file
05-27 22:04:33.699: E/AndroidRuntime(7064): /system/csc/feature.xml ==> cannot open file
05-27 22:04:34.369: E/AxT9IME(12326): setEditorType() - restarting : false
05-27 22:04:34.369: E/AxT9IME(12326):  mRestartRequested : false
05-27 22:04:34.369: E/AxT9IME(12326):  mIsScreenLocked : false
05-27 22:04:34.369: E/Vivek(12326): mInputLanguage = 429

在此先感谢:)

推荐答案

此问题通常是从问题引用的Google Play服务库的。
看看这个博客帖子我写了一篇关于如何谷歌地图应用程序中的整合,特别是第3个步骤:

This problem is usually derived from a problem in referencing google-play-service library. Take a look at this blog post I wrote on how to integrate Google Maps in your application, especially the first 3 steps:

谷歌地图API V2

这样做的另一个原因可能是你没有正确配置谷歌API控制台,所以我建议你看一看本指南,以及:

another cause of this could be that you haven't configured the Google API Console properly, so I suggest you to take a look at this guide as well:

谷歌地图API V2重点

这可能会导致此另一个原因是,如果你在你的权限某种问题的清单文件。你可以看一下的必要权限第一导向也是如此。

another reason that may cause this is if you have some kind of problem in your permissions in the manifest file. You can look at the first guide for the needed permissions as well.

这篇关于谷歌地图将不会出现在Android设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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