取得驅動程式 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 控制台專案
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間: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)"]]