Declare dependencies
Stay organized with collections
Save and categorize content based on your preferences.
To ensure smooth communication between the Driver SDK and Fleet Engine, you need
to declare the necessary dependencies. This involves adding
specific libraries to your project and, if using ProGuard, updating your
configuration file.
Update ProGuard configuration
If you use ProGuard to optimize your builds, you may need to add the
following lines to your ProGuard configuration file:
-dontwarn com.google.**
-dontwarn io.grpc.**
-dontwarn okio.**
ProGuard supports the minimum Android API level 23.
What's next
Create authentication tokens
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[null,null,["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eEstablish seamless communication between the Driver SDK and Fleet Engine by declaring necessary dependencies, including adding specific libraries.\u003c/p\u003e\n"],["\u003cp\u003eWhen using ProGuard for build optimization, update your ProGuard configuration file with provided lines to prevent warnings and ensure compatibility with Android API level 23 and above.\u003c/p\u003e\n"],["\u003cp\u003eProceed to create authentication tokens for secure communication and functionality within your integration.\u003c/p\u003e\n"]]],[],null,["To ensure smooth communication between the Driver SDK and Fleet Engine, you need\nto declare the necessary dependencies. This involves adding\nspecific libraries to your project and, if using ProGuard, updating your\nconfiguration file.\n\nUpdate ProGuard configuration\n\nIf you use [ProGuard](https://www.guardsquare.com/en/products/proguard) to optimize your builds, you may need to add the\nfollowing lines to your ProGuard configuration file: \n\n -dontwarn com.google.**\n -dontwarn io.grpc.**\n -dontwarn okio.**\n\nProGuard supports the minimum Android API level 23.\n\nWhat's next\n\n[Create authentication tokens](/maps/documentation/mobility/driver-sdk/on-demand/android/authenticate)"]]