Minimum supported Gradle version is 8.7. Current version is 8.2
The Android Gradle Plugin (AGP) version in your build needs a newer Gradle wrapper version.
Seen on:
Android
Meaning
Each AGP release requires a minimum Gradle version. Upgrading AGP (or a library/Flutter/RN template that does) without updating gradle-wrapper.properties triggers this.
Common causes
- AGP upgraded but Gradle wrapper not
- Project copied from a template with mismatched versions
⚡ Quick fix
- Update distributionUrl in gradle/wrapper/gradle-wrapper.properties
- Use the AGP Upgrade Assistant in Android Studio
- Keep AGP/Gradle/JDK versions in the compatibility table
Detailed fix by platform
Shell
- kotlin
./gradlew wrapper --gradle-version 8.7 # gradle/wrapper/gradle-wrapper.properties distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
How to diagnose
- Versions — AGP in build.gradle(.kts)/libs.versions.toml vs wrapper
- JDK — AGP 8.x needs JDK 17
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Android
Other ways to find it
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 7 Oct 2026