1

我正在开发一个应用程序。在涉及 google maps 的 SDK 17 上,但问题是当我使用Google Maps v1 api key时,地图工作正常,但是当我尝试使用Google Maps android V2 api key时,什么都没有显示(只出现 google maps 瓷砖)。我已经包含了谷歌播放服务库并搜索了所有可能的原因,但找不到一个。请帮忙!

4

2 回答 2

1

1) 转到 Google API 控制台https://code.google.com/apis/console/#project:650847076763

2)In Services enable ‘Google Maps Android API v2’ and agree to the terms
3)In the left navigation bar, click API Access.
4)Click Create New Android Key....
于 2013-02-23T09:53:35.243 回答
0

Google maps api V1 已被弃用,请改用 maps api V2。

文档页面: https ://developers.google.com/maps/documentation/android/

这是一个快速入门指南: https ://docs.google.com/document/d/19xKLZTrY1l6Sgu-V_IVSDIRZrcThjwxDrlm9rNr0tzo/edit

如果您在使用 MapFragment 或 google play 服务库时遇到问题,请访问此线程,它将为您提供帮助。 https://docs.google.com/document/d/19xKLZTrY1l6Sgu-V_IVSDIRZrcThjwxDrlm9rNr0tzo/edit

我也回答了你在这里遇到的相关问题。 如何/错误声明 google-play-services-component

快乐编码:)

于 2013-02-23T17:27:41.267 回答