Tải SDK trình điều khiển
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trước khi bắt đầu, hãy xác minh rằng hệ thống của bạn đáp ứng các yêu cầu tối thiểu và tải Driver SDK có sẵn trong môi trường của bạn.
Kiểm tra các yêu cầu tối thiểu về hệ thống
Để biết các yêu cầu tối thiểu đối với phiên bản Driver SDK mà bạn đang sử dụng, hãy xem Ghi chú phát hành.
Để sử dụng Driver SDK: Ứng dụng của bạn phải nhắm đến minSdkVersion
23 trở lên.
Để chạy một ứng dụng sử dụng Driver SDK: Thiết bị di động Android phải đáp ứng các yêu cầu tối thiểu sau:
Chạy Android 6.0 (API cấp 23) trở lên.
Đã cài đặt Dịch vụ Google Play.
Đã cài đặt Navigation SDK.
Tải Driver SDK
Tải Driver SDK phiên bản 4.99 trở lên xuống từ kho lưu trữ Maven của Google.
Gradle
Thêm đoạn mã sau vào tệp build.gradle
của bạn:
repositories {
...
google()
}
Maven
Thêm đoạn mã sau vào tệp pom.xml
của bạn:
<project>
...
<repositories>
<repository>
<id>google-maven-repository</id>
<url>https://maven.google.com</url>
</repository>
</repositories>
...
</project>
Bước tiếp theo
Định cấu hình một dự án trên Google Cloud Console
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-17 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-17 UTC."],[[["\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)"]]