android - 获取谷歌地图 V1 key android

标签 android google-maps

自从上个月以来,我一直在制作一个包含 Google map 的应用程序,并且我在其中使用了 Google Maps V1。昨天我格式化了我的系统,所以我之前为 Google map 使用 API V1 的 key 现在在开发过程中不起作用。

现在我正在尝试再次为 API v1 创建 key ,但我无法这样做。谁能帮帮我。我现在是否必须转向 Google Map API V2 ??

我也使用 API V2 生成了一个 key 。这也不起作用。我的代码是为 Google Maps V1 编写的。

最佳答案

Google Maps API v1 现已弃用,因此不幸的是不再有 key ...

Note: Version 1 of the Google Maps Android API has been officially deprecated as of December 3rd, 2012. This means that from March 18th, 2013 you will no longer be able to request an API key for this version. No new features will be added to Google Maps Android API v1. However, apps using v1 will continue to work on devices. Existing and new developers are encouraged to use Google Maps Android API v2.

来自 https://developers.google.com/maps/documentation/android/v1/

关于android - 获取谷歌地图 V1 key android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16604946/

相关文章:

java - 动态参数为 "or"

java - 致命异常 : java. lang.IllegalArgumentException:需要 GoogleApiClient 参数

android - 如何在android模拟器中显示来自sdcard的视频文件?

javascript - 未定义的 JavaScript 函数?

android - 在没有 Google API 的情况下使用 Google Map

ios - 找不到 GMSPlace

android - 您需要在此 Activity 中使用 Theme.AppCompat 主题(或后代)

java - 如何使屏幕变暗并在android中启动progressBar?

javascript - 谷歌地图显示灰色屏幕而不是 map

ios - 如何显示仅连接 2 个点的多段线?