{
  "id": "android/navigation-unknown-deeplink-host",
  "signature": "java.lang.IllegalArgumentException: Navigation destination cannot be found for deep link: https://example.com/path",
  "signature_zh": "java.lang.IllegalArgumentException：找不到深度链接的目标：https://example.com/path",
  "regex": "java\\.lang\\.IllegalArgumentException: Navigation destination cannot be found for deep link: https?://[^\\s]+",
  "domain": "android",
  "category": "runtime_error",
  "subcategory": null,
  "root_cause": "Navigation component cannot match a deep link URI to any registered destination in the NavGraph due to missing or malformed deep link declaration.",
  "root_cause_type": "generic",
  "root_cause_zh": "导航组件无法将深度链接 URI 匹配到 NavGraph 中任何已注册的目标，因为深度链接声明缺失或格式错误。",
  "versions": [
    {
      "version": "Navigation 2.6.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Navigation 2.7.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Android 12",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Android 13",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Adding `<intent-filter>` in AndroidManifest.xml for the activity without corresponding <deepLink> in NavGraph causes mismatch.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Hardcoding the deep link URI in code without registering it in the NavGraph XML leads to the same error.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Using `app:uri` with incorrect scheme (e.g., 'http' instead of 'https') causes no match.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Add a `<deepLink app:uri=\"https://example.com/path\" />` element inside the corresponding `<fragment>` or `<activity>` in your nav_graph.xml file.",
      "success_rate": 0.9,
      "how": "Add a `<deepLink app:uri=\"https://example.com/path\" />` element inside the corresponding `<fragment>` or `<activity>` in your nav_graph.xml file.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Verify the deep link URI pattern matches exactly, including path and query parameters. For dynamic paths, use placeholders like `{id}` in the URI.",
      "success_rate": 0.85,
      "how": "Verify the deep link URI pattern matches exactly, including path and query parameters. For dynamic paths, use placeholders like `{id}` in the URI.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Add a `<deepLink app:uri=\"https://example.com/path\" />` element inside the corresponding `<fragment>` or `<activity>` in your nav_graph.xml file.",
    "Verify the deep link URI pattern matches exactly, including path and query parameters. For dynamic paths, use placeholders like `{id}` in the URI."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://developer.android.com/guide/navigation/navigation-deep-link",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.84,
  "fix_success_rate": 0.87,
  "resolvable": "true",
  "first_seen": "2023-11-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}