依存関係を宣言する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Driver SDK と Fleet Engine 間のスムーズな通信を確保するには、必要な依存関係を宣言する必要があります。これには、プロジェクトに特定のライブラリを追加することと、ProGuard を使用している場合は構成ファイルを更新することが含まれます。
ProGuard 構成を更新する
ProGuard を使用してビルドを最適化する場合は、ProGuard の構成ファイルに次の行を追加する必要があります。
-dontwarn com.google.**
-dontwarn io.grpc.**
-dontwarn okio.**
ProGuard は、最小 Android API レベル 23 をサポートしています。
次のステップ
認証トークンを作成する
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-12 UTC。
[[["わかりやすい","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"]],["最終更新日 2025-09-12 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,[]]