CharlyKeleb / SocialMedia-App

A fully functional social media app built with flutter with multiple features
MIT License
962 stars 307 forks source link

gradle error #33

Closed webflax closed 1 year ago

webflax commented 1 year ago

Hello, when I try to run the software, I encounter the following error: `FAILURE: Build failed with an exception.

BUILD FAILED in 4m 36s Running Gradle task 'assembleDebug'... 277.3s

┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ [!] Your project's Gradle version is incompatible with the Java version that Flutter is using for Gradle. │ │ │ │ To fix this issue, first, check the Java version used by Flutter by running flutter doctor --verbose. │ │ │ │ Then, update the Gradle version specified in F:\mahdi-barati-repo\Flutter\SocialMedia-App\android\gradle\wrapper\gradle-wrapper.properties to be compatible with that Java version. See the link below for more information on │ │ compatible Java/Gradle versions: │ │ https://docs.gradle.org/current/userguide/compatibility.html#java │ │ │ │ │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ` Please give me the appropriate version of Java and Flutter and Dart that are suitable for this project.

ameyjoshi3068 commented 1 year ago

Can you tell how did you built this? I also tried various things

manioxx commented 3 months ago

the versions didnt match anymore any help