title: No cached version of com.android.tools.build:gradle:2.3.3 and commons-logging:commons-logging:1.1.1 available for offline mode
body: <p>My gradle settings are thus : <a href="https://i.stack.imgur.com/padQm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/padQm.png" alt="Gradle settings"></a></p>
  
  <p>I have tried degrading the gradle build tool version to 2.3.2, have tried with both offline checked and unchecked and with both the default gradle wrapper and my local gradle installation. Nothing seems to work. The <b>make</b> on project runs successfully but <b>deploying</b> it fails with the following error (detailed):</p>
  
  <blockquote>
    <p>Error:Gradle: A problem occurred configuring root project 'Project_Name'.<br>
    Could not resolve all dependencies for configuration ':classpath'.<br>
    Could not resolve com.android.tools.build:gradle:2.3.3.<br>
         Required by:<br>
             project :<br>
    No cached version of com.android.tools.build:gradle:2.3.3 available for offline mode.<br>
    Could not resolve commons-logging:commons-logging:1.1.1.<br>
         Required by:<br>
             project : > com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2 > org.codehaus.groovy.modules.http-builder:http-builder:0.7.2 > org.apache.httpcomponents:httpclient:4.2.1<br>
             project : > com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2 > org.codehaus.groovy.modules.http-builder:http-builder:0.7.2 > net.sf.json-lib:json-lib:2.3 <br>
             project : > com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2 > org.codehaus.groovy.modules.http-builder:http-builder:0.7.2 > net.sf.json-lib:json-lib:2.3 > commons-beanutils:commons-beanutils:1.8.0<br>
    No cached version of commons-logging:commons-logging:1.1.1 available for offline mode.</p>
  </blockquote>
  
  <p>Surprisingly, it deployed successfully the last time, which must have been a couple of weeks back. I did not do any configuration changes neither any updates to the Android Studio or related components. So I have no idea why this error has appeared out of the blue while deployment.</p>
  
  <p>Edit 1: I have to mention that even though such questions exist on SO, none of the solutions mentioned there solved this issue. They were all suggesting disabling offline work, but it was never enabled in the first place in my project. </p>
  
  <p>Edit 2 : Adding the gradle files:</p>
  
  <ol>
  <li><p>Project gradle file:
  <a href="https://i.stack.imgur.com/JPkOD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JPkOD.png" alt="Project gradle file"></a></p></li>
  <li><p>App module gradle file:
  <a href="https://drive.google.com/file/d/0B4Qj6eCr02BELTlYUHBodWRpM00/view?usp=sharing" rel="nofollow noreferrer">App module gradle file</a></p></li>
  </ol>