谷歌地图V2“不幸的是应用程序已经停止”的是、应用程序、不幸、地图

由网友(三句不离你)分享简介:我刚开始学的Andr​​oid。取4天试工作的地图查看,但无法正常工作。那错误不幸的是,应用程序已经停止I just begin to learn Android .take 4 days to try work maps view but not work .that error Unfortunately the...

我刚开始学的Andr​​oid。取4天试工作的地图查看,但无法正常工作。那错误不幸的是,应用程序已经停止

I just begin to learn Android .take 4 days to try work maps view but not work .that error Unfortunately the app has stopped

推荐答案

有一些事情你需要检查: 1 是SHA1指纹是确定您已经注册的谷歌API控制台。对于如何找到它,你可以找到它here 2 生成的 API_KEY 必须是相同的 menifest 。照片 3。在API控制台应用程序的名称必须相同的应用程序的的strings.xml 的名称。 4。 的元数据必须被包含在 menifest

There are some things you need to check: 1. Is the SHA1 fingerprint is ok that you have registered in google api console.For how to find it , you can find it here 2. The generated api_key must be same with the menifest. 3. Name of the app in api console must be same with the name of app in strings.xml. 4. meta-data must have to be included in menifest.

<meta-data 
             android:name="com.google.android.gms.version"
             android:value="@integer/google_play_services_version" />

我建议你遵循这个 。它的链接是真棒,它会带只需1个小时,为您绘制工作。

I recommend you to follow this link.It is awesome and it will take just 1 hour for you to map working.

阅读全文

相关推荐

最新文章