依存関係を宣言する
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-02-25 UTC。
[null,null,["最終更新日 2025-02-25 UTC。"],[[["The Driver SDK requires specific dependencies to communicate with Fleet Engine, including adding libraries and updating ProGuard configuration."],["If using ProGuard for optimization, add specific lines to your configuration file to avoid warnings related to the required libraries."],["ProGuard supports a minimum Android API level of 23 for Driver SDK integration."],["For subsequent steps, proceed to creating authentication tokens for securing communication."]]],[]]