获取驱动程序 SDK

开始之前,请验证您的系统是否满足最低要求,并获取 您的环境中可用的驱动程序 SDK。

查看最低系统要求

如需了解您使用的驱动程序 SDK 版本的最低要求,请执行以下操作: 请参阅版本说明

若要使用驱动程序 SDK:您的应用必须以 minSdkVersion 为目标平台 23 或更高版本。

若要运行使用驱动程序 SDK 的应用:Android 移动设备必须符合 以下最低要求:

  • 搭载 Android 6.0(API 级别) 23) 或更高版本。

  • 已安装 Google Play 服务

  • 安装 Navigation SDK。

获取驱动程序 SDK

从 Google Maven 制品库中获取驱动程序 SDK 4.99 版及更高版本。

Gradle

请将以下内容添加到 build.gradle 文件:

repositories {
    ...
    google()
}

Maven

请将以下内容添加到 pom.xml 文件:

<project>
  ...
  <repositories>
    <repository>
      <id>google-maven-repository</id>
      <url>https://maven.google.com</url>
    </repository>
  </repositories>
  ...
</project>

后续步骤

配置 Google Cloud 控制台项目