依存関係を宣言する
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-01-14 UTC。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["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."]]],[]]