title: Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
body: <p>My build.gradle for an Android app has become quite lengthy. Chanced upon this plugin called <a href="https://github.com/nebula-plugins/gradle-lint-plugin/wiki/Using-Lint" rel="noreferrer" title="gradle-lint-plugin">gradle-lint-plugin</a> and configured it properly. In its documentation it says </p>
  
  <blockquote>
    <p>Run <code>./gradlew fixGradleLint</code> to automatically fix your build scripts</p>
  </blockquote>
  
  <p>but upon running that I get <code>Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain</code>.</p>
  
  <p>Does this have anything to do with the Android Studio using its own Gradle plugin? I do not have Gradle installed systemwide.</p>
  
  <p><strong>Edit</strong>: I do not wish to install Gradle systemwide - is there any way to do this within Android Studio only?</p>