> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Androidアプリリンクのサポートを有効にする

> Auth0 Dashboardを使ってAuth0アプリケーションのAndroidアプリリンクサポートを有効にする方法を説明します。

[Android App Links](https://developer.android.com/training/app-links)を使用すると、アプリケーションは自身を特定の種類のリンクのデフォルトハンドラーとして指定できます。たとえば、メールにあるURLをクリックすると、指定されたアプリケーションでリンクが開きます。このガイドでは、<Tooltip data-tooltip-id="react-containers-DefinitionTooltip-0" href="/docs/ja-jp/glossary?term=auth0-dashboard" tip="Auth0 Dashboard: サービスを構成するためのAuth0の主製品。" cta="用語集の表示">Auth0 Dashboard</Tooltip>を使用して、Auth0登録済みアプリケーションのAndroidアプリリンクサポートを有効にする方法を説明します。

1. [［Auth0 Dashboard］>［Applications（アプリケーション）］>［Applications（アプリケーション）］](https://manage.auth0.com/#/applications)に移動し、アプリケーションの名前を選択して表示します。

   <Frame>
     <img src="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/1FU_hDyg-ytA7ilg/docs/images/ja-jp/cdy7uua7fh8z/1ecNwGgFQZxdP57p0tp3jT/6a547af05f8729ea00700a851e13c62b/App_List_-_JP.png?fit=max&auto=format&n=1FU_hDyg-ytA7ilg&q=85&s=ef2865b52b9b73fb42039f4b8c73b784" alt="Dashboardのアプリケーションリスト" width="1102" height="730" data-path="docs/images/ja-jp/cdy7uua7fh8z/1ecNwGgFQZxdP57p0tp3jT/6a547af05f8729ea00700a851e13c62b/App_List_-_JP.png" />
   </Frame>

2. **［Settings（設定）］** ページの下までスクロールし、**［Show Advanced Settings（詳細設定を表示）］** を選択します。

3. **［Device Settings（デバイス設定）］** を選択し、Androidアプリケーションの[［App Package Name（アプリパッケージ名）］](https://developer.android.com/studio/build/application-id)とアプリの署名証明書のSHA256フィンガープリントを入力して、**［Save Changes（変更の保存）］** を選択します。

   <Frame>
     <img src="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/9Vac8_IYDB9MGlmx/docs/images/ja-jp/cdy7uua7fh8z/YKKPtWtswHn2FZGFSVWNw/daf45c579fcaa82179dce4a03e9d7276/Device_Settings_-_JP.png?fit=max&auto=format&n=9Vac8_IYDB9MGlmx&q=85&s=36fe3d8745c019892fdedf2f008e53d7" alt="Dashboard アプリケーション アプリケーション設定タブ 詳細設定 デバイス設定タブ" width="1150" height="749" data-path="docs/images/ja-jp/cdy7uua7fh8z/YKKPtWtswHn2FZGFSVWNw/daf45c579fcaa82179dce4a03e9d7276/Device_Settings_-_JP.png" />
   </Frame>

ターミナルでJavaキーツールを使ってフィンガープリントを生成するために、次のコマンドを使用できます：
`keytool -list -v -keystore my-release-key.keystore`

署名証明書の詳細については、Androidの開発者向けドキュメント「[アプリに署名](https://developer.android.com/studio/publish/app-signing.html)」をお読みください。

## リンクのテスト

1. ブラウザーで次のURLに移動します：`https://{yourDomain}/.well-known/assetlinks.json`
2. リンクに成功している場合は、以下のようなJSONを返します（読みやすいように整えてあります）。

   ```json lines theme={null}
   [{
     "relation": ["delegate_permission/common.handle_all_urls"],
     "target": {
       "namespace": "android_app",
       "package_name": "com.mycompany.app1",
       "sha256_cert_fingerprints":
       ["14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5"]
     }
   }]
   ```

アプリリンクのテストについては、[https://developer.android.com](https://developer.android.com)で「[Androidアプリリンクを検証する](https://developer.android.com/training/app-links/verify-site-associations)」をお読みください。
