# 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'

- **ID:** `android/gradle-version-catalog-not-found`
- **Domain:** android
- **Category:** build_error
- **Verification:** ai_generated
- **Fix Rate:** 92%

## 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.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Android Gradle Plugin 8.0 - 8.2 | active | — | — |
| Gradle 8.0 - 8.5 | active | — | — |
| Compose BOM 2023.10.01 - 2024.02.00 | active | — | — |

## Workarounds

1. **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'.** (95% success)
   ```
   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'.
   ```
2. **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.** (85% success)
   ```
   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.
   ```

## Dead Ends

- **** — If the repository is already present but the artifact doesn't exist, adding it again won't help; the version must be verified. (50% fail)
- **** — Older versions may not be compatible with the current Compose or AndroidX libraries, causing other build failures. (50% fail)
