Код: Выделить всё
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
< /code>
Flutter продолжает использовать Gradle 7.2 вместо 8.10 < /p>
flutter analyze --suggestions
┌───────────────────────────────────────────────────────────────────┐
│ General Info │
│ [✓] App Name: app │
│ [✓] Supported Platforms: android, ios, web, macos, linux, windows │
│ [✓] Is Flutter Package: yes │
│ [✓] Uses Material Design: yes │
│ [✓] Is Plugin: no │
│ [✗] Java/Gradle/Android Gradle Plugin: │
│ Incompatible Java/Gradle versions. │
│ Java Version: 21.0.4, Gradle Version: 7.2 │
│ │
│ See the link below for more information: │
│ https://docs.gradle.org/current/userguide/compatibility.html#java │
│ │
└───────────────────────────────────────────────────────────────────┘
Подробнее здесь: https://stackoverflow.com/questions/794 ... le-version
Мобильная версия