谷歌地图API第2版 - 上显示

问题描述:

我创建的测试应用程序来学习如何使用谷歌地图API V2白色的地图瓦片,但我只拿到了白色画面时打开map.Here是我的项目https://gitlab.com/Ossir/[email protected]:Ossir/android.git 我发现很多topick这里与同样的问题,但他们没有解决问题。我在Google Nexus 7(android 4.3)和华为荣耀(android 4.0.2) 上测试过应用程序吗?谷歌地图API第2版 - 上显示

+0

按照此啧啧为谷歌地图http://wptrafficanalyzer.in/blog/showing-current-location-in-google-maps-using- api-v2-with-supportmapfragment/ – Aravin

+0

你的代码和log-cat输出对我们来说是必要的。 –

+0

代码是可用的链接,并从模拟器log-cat显示没有错误,以及如何从设备获取log-cat我不知道 – Ossir

我终于发现有什么问题了。我需要添加

<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> 

到androidManifest,一切wors精细