获取驱动程序 SDK
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
开始之前,请验证您的系统是否满足最低要求,并确保您的环境中提供 Driver SDK。
检查最低系统要求
如需了解您所用 Driver SDK 版本的最低要求,请参阅版本说明。
如需使用 Driver SDK:您的应用必须以 minSdkVersion
23 或更高版本为目标平台。
如需运行使用 Driver SDK 的应用,Android 移动设备必须满足以下最低要求:
获取 Driver SDK
从 Google Maven 制品库获取 Driver 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 控制台项目
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eThe Driver SDK requires a minimum \u003ccode\u003eminSdkVersion\u003c/code\u003e of 23 and Android 6.0 (API level 23) or later on devices.\u003c/p\u003e\n"],["\u003cp\u003eDevices must have Google Play services and the Navigation SDK installed to run apps using the Driver SDK.\u003c/p\u003e\n"],["\u003cp\u003eDriver SDK versions 4.99 and later are available through the Google Maven repository and can be added using Gradle or Maven.\u003c/p\u003e\n"],["\u003cp\u003eAfter setup, proceed to configure a Google Cloud console project for further implementation.\u003c/p\u003e\n"]]],[],null,["Before you begin, verify your system meets the minimum requirements and get the\nDriver SDK available in your environment.\n\nCheck the minimum system requirements\n\nFor the minimum requirements for the version of the Driver SDK you are using,\nsee [Release Notes](/maps/documentation/mobility/services/resources/relnotes_driver_sdk_android).\n\n**To use the Driver SDK** : Your app must target `minSdkVersion`\n23 or higher.\n\n**To run an app that uses the Driver SDK**: Android mobile devices must meet the\nfollowing minimum requirements:\n\n- Running Android 6.0 (API level\n 23) or later.\n\n- Have [Google Play services](https://developers.google.com/android/guides/overview) installed.\n\n- Have the Navigation SDK installed.\n\nGet the Driver SDK\n\nGet the Driver SDK versions 4.99 and later from the Google Maven repository. \n\nGradle\n\nAdd the following to your `build.gradle` file: \n\n repositories {\n ...\n google()\n }\n\nMaven\n\nAdd the following to your `pom.xml` file: \n\n \u003cproject\u003e\n ...\n \u003crepositories\u003e\n \u003crepository\u003e\n \u003cid\u003egoogle-maven-repository\u003c/id\u003e\n \u003curl\u003ehttps://maven.google.com\u003c/url\u003e\n \u003c/repository\u003e\n \u003c/repositories\u003e\n ...\n \u003c/project\u003e\n\nWhat's next\n\n[Configure a Google Cloud console project](/maps/documentation/mobility/driver-sdk/on-demand/android/configure-project)"]]