宣告依附元件
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
為確保 Driver SDK 與 Fleet Engine 之間的通訊順暢,您必須宣告必要的依附元件。這包括在專案中新增特定程式庫,以及 (如果使用 ProGuard 的話) 更新設定檔。
更新 ProGuard 設定
如果您使用 ProGuard 來最佳化建構作業,可能需要在 ProGuard 設定檔中新增下列行:
-dontwarn com.google.**
-dontwarn io.grpc.**
-dontwarn okio.**
ProGuard 支援的最低 Android API 級別為 23。
後續步驟
建立驗證權杖
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-22 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-12-22 (世界標準時間)。"],[[["Establish seamless communication between the Driver SDK and Fleet Engine by declaring necessary dependencies, including adding specific libraries."],["When 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."],["Proceed to create authentication tokens for secure communication and functionality within your integration."]]],[]]