{
  "id": "flutter/unsupported-operation-platform-channel",
  "signature": "MissingPluginException: No implementation found for method getStoragePath on channel com.example.app/storage",
  "signature_zh": "MissingPluginException: 在通道 com.example.app/storage 上未找到方法 getStoragePath 的实现",
  "regex": "MissingPluginException: No implementation found for method \\w+ on channel \\S+",
  "domain": "flutter",
  "category": "module_error",
  "subcategory": null,
  "root_cause": "A platform channel method is invoked on a platform (e.g., iOS, Android, Web) where the native plugin is not registered or the method is not implemented for that platform version.",
  "root_cause_type": "generic",
  "root_cause_zh": "在某个平台（例如 iOS、Android、Web）上调用了平台通道方法，但该平台的原生插件未注册或该方法未针对该平台版本实现。",
  "versions": [
    {
      "version": "Flutter 3.16",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Flutter 3.19",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Dart 3.3",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Does not register the missing plugin in the platform's build files (e.g., AppDelegate.swift, MainActivity.kt); the method remains unimplemented.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Silently swallows the error but the method still has no real implementation, leading to broken functionality.",
      "fail_rate": 0.75,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Many plugins require manual registration or conditional imports for different platforms; skipping this leaves the channel unconfigured.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Ensure the plugin is properly registered in the native entry point. For Android, check MainActivity.kt or MainApplication.kt for GeneratedPluginRegistrant.registerWith(flutterEngine). For iOS, verify AppDelegate.swift includes the plugin registration.",
      "success_rate": 0.85,
      "how": "Ensure the plugin is properly registered in the native entry point. For Android, check MainActivity.kt or MainApplication.kt for GeneratedPluginRegistrant.registerWith(flutterEngine). For iOS, verify AppDelegate.swift includes the plugin registration.",
      "condition": "",
      "sources": []
    },
    {
      "action": "For plugins that support multiple platforms, add platform-specific conditionals (e.g., 'dart.library.html' for web) and provide a stub implementation for unsupported platforms.",
      "success_rate": 0.78,
      "how": "For plugins that support multiple platforms, add platform-specific conditionals (e.g., 'dart.library.html' for web) and provide a stub implementation for unsupported platforms.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Ensure the plugin is properly registered in the native entry point. For Android, check MainActivity.kt or MainApplication.kt for GeneratedPluginRegistrant.registerWith(flutterEngine). For iOS, verify AppDelegate.swift includes the plugin registration.",
    "For plugins that support multiple platforms, add platform-specific conditionals (e.g., 'dart.library.html' for web) and provide a stub implementation for unsupported platforms."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.flutter.dev/platform-integration/platform-channels",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.84,
  "fix_success_rate": 0.82,
  "resolvable": "true",
  "first_seen": "2024-03-05",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}