Could not create task ':generateLockfiles'

Viewed 18

I am trying to run a music app with flutter which i got from github. I am getting these error. PLease help me solve this

The supplied phased action failed with an exception.
Could not create task ':generateLockfiles'.
Process 'command 'D:\chillify-develop\android/gradlew.bat'' finished with non-zero exit 
value 1

Can't use Java 18 and Gradle 7.3.1 to import Gradle project android.

This is the gradle.wrapper file

distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
0 Answers
Related