Pobierz pakiet SDK sterowników
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zanim zaczniesz, sprawdź, czy Twój system spełnia minimalne wymagania, i udostępnij pakiet Driver SDK w swoim środowisku.
Sprawdź minimalne wymagania systemowe
Minimalne wymagania dotyczące używanej wersji pakietu Driver SDK znajdziesz w informacjach o wersji.
Aby korzystać z pakietu Driver SDK: aplikacja musi być kierowana na system minSdkVersion
w wersji 23 lub nowszej.
Aby uruchomić aplikację korzystającą z pakietu Driver SDK: urządzenia mobilne z Androidem muszą spełniać te minimalne wymagania:
Android 6.0 (poziom interfejsu API 23) lub nowszy.
mieć zainstalowane Usługi Google Play;
Musisz mieć zainstalowany pakiet Navigation SDK.
Pobieranie pakietu Driver SDK
Pobierz pakiety SDK sterownika w wersji 4.99 lub nowszej z repozytorium Google Maven.
Gradle
Dodaj do pliku build.gradle
te informacje:
repositories {
...
google()
}
Maven
Dodaj do pliku pom.xml
te informacje:
<project>
...
<repositories>
<repository>
<id>google-maven-repository</id>
<url>https://maven.google.com</url>
</repository>
</repositories>
...
</project>
Co dalej?
Konfigurowanie projektu w konsoli Google Cloud
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-31 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-31 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 for Gradle and Maven projects.\u003c/p\u003e\n"],["\u003cp\u003eYou'll need to configure a Google Cloud console project after setting up the SDK.\u003c/p\u003e\n"]]],[],null,["# Get the Driver SDK\n\nBefore 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-------------------------------------\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------------------\n\nGet the Driver SDK versions 4.99 and later from the Google Maven repository. \n\n### Gradle\n\nAdd the following to your `build.gradle` file: \n\n repositories {\n ...\n google()\n }\n\n### Maven\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\n[Configure a Google Cloud console project](/maps/documentation/mobility/driver-sdk/scheduled/android/configure-project)"]]