{
  "id": "android/lint-gradle-plugin-api-mismatch",
  "signature": "Execution failed for task ':app:lintVitalRelease'. > Lint found fatal errors while assembling release targets. Aborting.",
  "signature_zh": "任务 ':app:lintVitalRelease' 执行失败。> Lint 在组装发布目标时发现致命错误。正在中止。",
  "regex": "Execution failed for task.*lintVitalRelease.*Lint found fatal errors",
  "domain": "android",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "Android Lint configured to treat warnings as errors, and one or more lint checks fail on release build.",
  "root_cause_type": "generic",
  "root_cause_zh": "Android Lint 配置为将警告视为错误，并且一个或多个 lint 检查在发布构建中失败。",
  "versions": [
    {
      "version": "AGP 8.2.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Gradle 8.5",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Lint 31.2.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Disable all lint checks by setting lintOptions.abortOnError false",
      "why_fails": "Hides real issues; release build may still produce broken APK or violate Play Store policies.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "Ignore lint by running assembleRelease with --exclude-task lintVitalRelease",
      "why_fails": "Skipping lint entirely bypasses critical checks; can lead to security issues or crashes in production.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Run ./gradlew :app:lintVitalRelease to see detailed lint report. Fix each issue: e.g., remove unused permissions, fix missing translations. Then rebuild.",
      "success_rate": 0.9,
      "how": "Run ./gradlew :app:lintVitalRelease to see detailed lint report. Fix each issue: e.g., remove unused permissions, fix missing translations. Then rebuild.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Configure lintOptions to suppress specific checks: lintOptions { disable 'UnusedResources', 'MissingTranslation' } in build.gradle. Rebuild.",
      "success_rate": 0.85,
      "how": "Configure lintOptions to suppress specific checks: lintOptions { disable 'UnusedResources', 'MissingTranslation' } in build.gradle. Rebuild.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Run ./gradlew :app:lintVitalRelease to see detailed lint report. Fix each issue: e.g., remove unused permissions, fix missing translations. Then rebuild.",
    "Configure lintOptions to suppress specific checks: lintOptions { disable 'UnusedResources', 'MissingTranslation' } in build.gradle. Rebuild."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.84,
  "fix_success_rate": 0.88,
  "resolvable": "true",
  "first_seen": "2024-11-05",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}