הצהרה על יחסי תלות
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
כדי להבטיח תקשורת חלקה בין Driver SDK לבין Fleet Engine, צריך להצהיר על התלות הנדרשת. הפעולה הזו כוללת הוספה של ספריות ספציפיות לפרויקט, ואם משתמשים ב-ProGuard, צריך לעדכן את קובץ ההגדרות.
עדכון ההגדרה של ProGuard
אם אתם משתמשים ב-ProGuard כדי לבצע אופטימיזציה של הבנייה, יכול להיות שתצטרכו להוסיף את השורות הבאות לקובץ ההגדרות של ProGuard:
-dontwarn com.google.**
-dontwarn io.grpc.**
-dontwarn okio.**
ProGuard תומך ברמת ה-API המינימלית של Android 23.
המאמרים הבאים
יצירת טוקנים לאימות
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-31 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-31 (שעון 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)"]]