title: Gradle sync failed: No cached version available for offline mode
body: <p>I have two separated computers, the first having an internet access where the other one doesn't have. I used the one with internet access to install android studio build my android application where gradle caches all required dependencies. Then I managed to move the application along with the android studio and the <code>.gradle</code> folder into the offline pc, then setting <code>GRADLE_HOME</code> to the <code>.gradle</code> directory. I'd also checked <code>offline mode</code> in the android gradle setting of my project. But gradle still doesn't find its cached dependencies, saying:</p>
  
  <pre><code>Gradle sync failed: Could not download org.eclipse.jgit.jar ...: No cached version available for offline mode
  </code></pre>
  
  <p>Note that the above required dependency is already exist in the gradle cache.</p>