title: How To Solve .gradle/wrapper not found
body: <p>How to set path Gradle Wrapper?
  I want to build apk from web. but i got stack for 2 days to solve this tings.</p>
  
  <p>here my structure folder</p>
  
  <pre><code>    /var/www/html/engine/api/application/android_app/WebGenerator/ :
      /.gradle
      /.idea
      /source (path i want to build
      /build
      /gradle
      .gitignore    
      webGenerator.iml
      build.gradle
      gradle.properties
      gradlew
      local.properties
      settings.gradle
  </code></pre>
  
  <p>in my PHP code i put this one to exec gradlew</p>
  
  <pre><code>$app_path = '/var/www/html/engine/api/application/android_app/WebGenerator/';
  
  exec($app_path.'gradlew assembleDebug --parallel --offline 2&gt;&amp;1', $outputs));
  </code></pre>
  
  <p>ERROR :</p>
  
  <pre><code>"Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: /var/www/.gradle/wrapper/dists/gradle-2.4-all/3i2gobhdl0fm2tosnn15g540i0/gradle-2.4-all.zip.lck (No such file or directory)
  </code></pre>