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.
Contents
How to Fix agradlew: command not found Error?
- 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
- 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
- SyntaxError: Support for the experimental syntax ‘jsx’ isn’t currently enabled
- Fix the upstream dependency conflict installing NPM packages
- Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
- ValueError: Expecting property name enclosed in double quotes
- await is only valid in async function in nodejs