close

[Fixed] agradlew: command not found

Today We are Going To Solve agradlew: command not found in Java. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.

How to Fix agradlew: command not found Error?

  1. How to Fix agradlew: command not found Error?

    To Fix agradlew: command not found Error just For window users. Just add .\ before gradlew. It is for window users. Just try this: .\gradlew

  2. agradlew: command not found

    To Fix agradlew: command not found Error just For mac users. For mac users give root access to gradlew by using the given below command: chmod +x ./gradlew

Solution 1 : For window users

Just add .\ before gradlew. It is for window users. Just try this:

.\gradlew

Solution 2 : For mac users

For mac users give root access to gradlew by using the given below command:

chmod +x ./gradlew

Solution 3 : For Linux users

If you are using linux then this will help you.

Just move the code from NTFS to a linux partition and after it use ./gradlew build will help you.

Conclusion

So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.

Also Read These Solutions

Leave a Comment