2013-08-30 39 views
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

回答

0

我終於發現有什麼問題了。我需要添加

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

到androidManifest,一切wors精細