获取驱动程序 SDK
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
开始之前,请验证您的系统是否满足最低要求,并在您的环境中获取可用的驱动程序 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-01-14。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-01-14。"],[[["The Driver SDK requires a minimum `minSdkVersion` of 23 and Android 6.0 (API level 23) or later on devices."],["Devices must have Google Play services and the Navigation SDK installed to run apps using the Driver SDK."],["Driver SDK versions 4.99 and later are available through the Google Maven repository for Gradle and Maven projects."],["You'll need to configure a Google Cloud console project after setting up the SDK."]]],[]]