谷歌地图将不会出现在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控制台,所以我建议你看一看本指南,以及:
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:
这可能会导致此另一个原因是,如果你在你的权限某种问题的清单文件。你可以看一下的必要权限第一导向也是如此。
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.