डिपेंडेंसी का एलान करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Driver SDK और Fleet Engine के बीच आसानी से कम्यूनिकेशन हो, इसके लिए आपको ज़रूरी डिपेंडेंसी के बारे में बताना होगा. इसके लिए, आपको अपने प्रोजेक्ट में कुछ खास लाइब्रेरी जोड़नी होंगी. साथ ही, अगर ProGuard का इस्तेमाल किया जा रहा है, तो आपको कॉन्फ़िगरेशन फ़ाइल अपडेट करनी होगी.
ProGuard कॉन्फ़िगरेशन अपडेट करना
अगर अपनी बिल्ड को ऑप्टिमाइज़ करने के लिए ProGuard का इस्तेमाल किया जाता है, तो आपको ProGuard कॉन्फ़िगरेशन फ़ाइल में ये लाइनें जोड़नी पड़ सकती हैं:
-dontwarn com.google.**
-dontwarn io.grpc.**
-dontwarn okio.**
ProGuard, Android के एपीआई लेवल 23 और उसके बाद के वर्शन के साथ काम करता है.
आगे क्या करना है
पुष्टि करने वाले टोकन बनाना
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Driver SDK requires specific dependencies to communicate with Fleet Engine, including adding libraries and updating ProGuard configuration.\u003c/p\u003e\n"],["\u003cp\u003eIf using ProGuard for optimization, add specific lines to your configuration file to avoid warnings related to the required libraries.\u003c/p\u003e\n"],["\u003cp\u003eProGuard supports a minimum Android API level of 23 for Driver SDK integration.\u003c/p\u003e\n"],["\u003cp\u003eFor subsequent steps, proceed to creating authentication tokens for securing communication.\u003c/p\u003e\n"]]],[],null,["# Declare dependencies\n\nTo 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-----------------------------\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\n[Create authentication tokens](/maps/documentation/mobility/driver-sdk/scheduled/android/authenticate)"]]