{
  "id": "android/gradle-version-catalog-not-found",
  "signature": "Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not find androidx.compose.material3:material3:1.2.0. Required by: project :app > > Cannot find a version of 'androidx.compose.material3:material3' that satisfies the version constraint '1.2.0'",
  "signature_zh": "无法解析配置 ':app:debugRuntimeClasspath' 的所有文件。> 找不到 androidx.compose.material3:material3:1.2.0。需要者：项目 :app > > 找不到满足版本约束 '1.2.0' 的 'androidx.compose.material3:material3' 版本",
  "regex": "Could not find .* Required by:.* Cannot find a version of .* that satisfies the version constraint",
  "domain": "android",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "Version catalog or dependency declaration references a library version that does not exist in the configured repositories, or the repository (e.g., Maven Central, Google) is not reachable or missing the artifact.",
  "root_cause_type": "generic",
  "root_cause_zh": "版本目录或依赖声明引用了配置的仓库中不存在的库版本，或仓库（如 Maven Central、Google）不可达或缺少该工件。",
  "versions": [
    {
      "version": "Android Gradle Plugin 8.0 - 8.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Gradle 8.0 - 8.5",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Compose BOM 2023.10.01 - 2024.02.00",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the repository is already present but the artifact doesn't exist, adding it again won't help; the version must be verified.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Older versions may not be compatible with the current Compose or AndroidX libraries, causing other build failures.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Update the version catalog file (libs.versions.toml) to use a valid version from the Google Maven repository: 'material3 = \"1.2.1\"' and then run 'gradlew clean build'.",
      "success_rate": 0.95,
      "how": "Update the version catalog file (libs.versions.toml) to use a valid version from the Google Maven repository: 'material3 = \"1.2.1\"' and then run 'gradlew clean build'.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Add the Google Maven repository explicitly in settings.gradle or build.gradle: 'maven { url \"https://maven.google.com\" }' and ensure it's before other repositories.",
      "success_rate": 0.85,
      "how": "Add the Google Maven repository explicitly in settings.gradle or build.gradle: 'maven { url \"https://maven.google.com\" }' and ensure it's before other repositories.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Update the version catalog file (libs.versions.toml) to use a valid version from the Google Maven repository: 'material3 = \"1.2.1\"' and then run 'gradlew clean build'.",
    "Add the Google Maven repository explicitly in settings.gradle or build.gradle: 'maven { url \"https://maven.google.com\" }' and ensure it's before other repositories."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://developer.android.com/build/dependencies#version-catalog",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.87,
  "fix_success_rate": 0.92,
  "resolvable": "true",
  "first_seen": "2023-09-01",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}