How can i fix Task 'wrapper' not found in project ':app'

enter image description here

I literally get this error is all projects i open can any one help me fix this ?

3

1 Answer

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.

7

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like