Saturday, 18 March 2017

Error: Could not find or load mian class org.gradle.wrapper.GradleWrapperMain



When i was trying to build a project for eclipse, i ran the below command gradlew eclipse and i got below error.


I searched in internet and found some solutions and finally the below solution is working for me. I executed below command and this fixed my issue.

'git add -f gradle/wrapper/gradle-wrapper.jar'

There are other solutions but this only worked for me.

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.