{
  "id": "flutter/gradle-execution-failed-for-task-compiledartkernel",
  "signature": "Gradle task assembleDebug failed with exit code 1: Execution failed for task ':app:compileFlutterBuildDebugArm64'",
  "signature_zh": "Gradle 任务 assembleDebug 失败，退出码 1：任务 ':app:compileFlutterBuildDebugArm64' 执行失败",
  "regex": "Execution failed for task ':app:compileFlutterBuildDebugArm64'",
  "domain": "flutter",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "The Flutter Dart compilation step fails during a Gradle build due to issues like corrupted cache, incompatible Dart SDK version, or missing native dependencies for the target architecture (arm64).",
  "root_cause_type": "generic",
  "root_cause_zh": "Gradle 构建期间 Flutter Dart 编译步骤失败，原因包括缓存损坏、Dart SDK 版本不兼容或目标架构（arm64）缺少原生依赖。",
  "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": "Gradle 8.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Gradle 8.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The Gradle cache or Dart kernel snapshots may still be corrupted; a full clean is often needed.",
      "fail_rate": 0.65,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "May introduce breaking changes or dependency conflicts that cause other build failures.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "If the error is due to code issues or cache corruption, more memory won't help.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Run 'flutter clean' followed by 'flutter pub get' and 'cd android && ./gradlew clean' to clear all caches, then rebuild.",
      "success_rate": 0.85,
      "how": "Run 'flutter clean' followed by 'flutter pub get' and 'cd android && ./gradlew clean' to clear all caches, then rebuild.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Check the full error log for specific Dart compilation errors (e.g., syntax errors, missing imports) and fix them; also ensure the Dart SDK version matches the project constraints in pubspec.yaml.",
      "success_rate": 0.78,
      "how": "Check the full error log for specific Dart compilation errors (e.g., syntax errors, missing imports) and fix them; also ensure the Dart SDK version matches the project constraints in pubspec.yaml.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Run 'flutter clean' followed by 'flutter pub get' and 'cd android && ./gradlew clean' to clear all caches, then rebuild.",
    "Check the full error log for specific Dart compilation errors (e.g., syntax errors, missing imports) and fix them; also ensure the Dart SDK version matches the project constraints in pubspec.yaml."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.flutter.dev/deployment/android#build-the-app",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.83,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-02-18",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}