I literally get this error is all projects i open can any one help me fix this ?
CodePudding user response:
This is because your build.gradle file doesn't have a wrapper task. Add this code to build.gradle:
task wrapper(type: Wrapper){
gradleVersion = '7.2'
}
You can replace 7.2 with the gradle version you want, then run gradle wrapper
task.