title: Gradle build is successful, but won't sync
body: <p>I'm trying to run an old project of mine, so I imported it into Android Studio ( It used this when I originally created it ) and updated the libraries ( It wouldn't run before either )</p>
  
  <p>The problem is, even though the build succeeds ( with only a warning ), I get <code>Gradle project sync failed.</code> and can't run it.</p>
  
  <p>I'm currently running the latest alpha of gradle (2.4.0-alpha3), have tried older versions to see if that was the issue, and also tried to change the dependencies, the version, and the buildtools. I have other working projects from the same <code>SdkVersion</code>, so it's probably not that.</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  
  android {
      compileSdkVersion 25
      buildToolsVersion '26-rc1'
  
      defaultConfig {
          applicationId "com.jediburrell.sof"
          minSdkVersion 15
          targetSdkVersion 26
          versionCode 7
          versionName "1.6"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      testCompile 'junit:junit:4.12'
      compile('com.github.afollestad.material-dialogs:core:0.8.5.4@aar') {
          transitive = true
      }
      compile files('libs/activation.jar')
      compile 'com.android.support:appcompat-v7:+'
      compile 'com.android.support:design:+'
      compile 'com.android.support:cardview-v7:+'
      compile 'com.balysv:material-ripple:1.0.2'
      compile 'com.melnykov:floatingactionbutton:1.3.0'
      compile 'com.squareup.okhttp:okhttp:2.3.0'
      compile 'com.squareup.okhttp:okhttp-urlconnection:2.3.0'
      compile 'org.apache.httpcomponents:httpclient:+'
  
  }
  </code></pre>
  
  <p>As for the warning:</p>
  
  <pre><code>Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies]
  Warning:WARNING: Dependency org.apache.httpcomponents:httpclient:4.5.3 is ignored for debug as it may be conflicting with the internal version provided by Android.
  Information:BUILD SUCCESSFUL
  Information:Total time: 1.27 secs
  Information:0 errors
  Information:1 warning
  Information:See complete output in console
  </code></pre>
  
  <p><em>I have tried to build it without <code>HttpClient</code>. It builds the same</em></p>