title: Gradle wrapper NoClassDefFoundError
body: <p>When I run ./gradlew I get </p>
  
  <blockquote>
    <p>Exception in thread "main" <strong>java.lang.NoClassDefFoundError</strong>:
    org/gradle/wrapper/GradleWrapperMain Caused by:
    java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)   at
    java.security.AccessController.doPrivileged(Native Method)    at
    java.net.URLClassLoader.findClass(URLClassLoader.java:190)    at
    java.lang.ClassLoader.loadClass(ClassLoader.java:306)     at
    sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)     at
    java.lang.ClassLoader.loadClass(ClassLoader.java:247)</p>
  </blockquote>
  
  <p>My project compiles using the Android Studio but stopped compiling from command line</p>