title: Jenkins android build failing with the message: FATAL: The Gradle wrapper has not been found in these directories
body: <p>When I try building android project, build fails with the following msg:</p>
  
  <pre><code>Started by user admin
  Building in workspace /Users/Shared/Jenkins/Home/workspace/stable-dev
  [Gradle] - Launching build.
  
  FATAL: The Gradle wrapper has not been found in these directories:   
  /Users/admin/Downloads/android_stable_dev, 
  /Users/Shared/Jenkins/Home/workspace/stable-dev
  
  Build step 'Invoke Gradle script' marked build as failure
  Finished: FAILURE
  </code></pre>
  
  <p>Configurations I used:</p>
  
  <ol>
  <li><code>Use Gradle Wrapper</code></li>
  <li><code>build File: /Users/admin/Downloads/android_stable_dev/build.gradle</code></li>
  </ol>
  
  <p>I tried filling <code>/Users/admin/Downloads/android_stable_dev/gradlew</code>, <code>/Users/admin/Downloads/android_stable_dev/gradle/wrapper/</code>, <code>/Users/admin/Downloads/android_stable_dev/gradle/</code> etc. in the <code>Wrapper location</code> field in the configuration. Still didn't work (All those files are there).</p>
  
  <p>I'm using <code>jenkins-2.47.pkg</code></p>