تعريف الاعتماديات
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
لضمان سلاسة التواصل بين حزمة تطوير البرامج (SDK) الخاصة بالسائق وFleet Engine، عليك تحديد التبعيات اللازمة. ويشمل ذلك إضافة مكتبات معيّنة إلى مشروعك، وتعديل ملف الإعداد إذا كنت تستخدم ProGuard.
تعديل إعدادات ProGuard
إذا كنت تستخدم ProGuard لتحسين عمليات الإنشاء، قد تحتاج إلى إضافة الأسطر التالية إلى ملف إعداد ProGuard:
-dontwarn com.google.**
-dontwarn io.grpc.**
-dontwarn okio.**
يتوافق ProGuard مع الحد الأدنى لمستوى واجهة برمجة تطبيقات Android وهو 23.
الخطوات التالية
إنشاء رموز مميزة للمصادقة
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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)"]]