title: Unable to sync Android Studio with Maven repository
body: <p>I'm trying to add this libraries to my project:</p>
  <ul>
  <li><a href="http://search.maven.org/#artifactdetails%7Ccom.loopj.android%7Candroid-async-http%7C1.4.6%7Cjar" rel="nofollow noreferrer">com.loopj.android:android-async-http:1.4.6</a></li>
  <li><a href="http://search.maven.org/#artifactdetails%7Ccom.google.apis%7Cgoogle-api-services-analytics%7Cv3-rev115-1.18.0-rc%7Cjar" rel="nofollow noreferrer">com.google.apis:google-api-services-analytics:v3-rev115-1.20.0</a></li>
  <li><a href="http://search.maven.org/#artifactdetails%7Ccom.github.castorflex.smoothprogressbar%7Clibrary%7C1.1.0%7C" rel="nofollow noreferrer">com.github.castorflex.smoothprogressbar:library:1.1.0</a></li>
  </ul>
  <p>But Android Studio is returning this errors:</p>
  <blockquote>
  <p>Error:(8, 13) Failed to resolve:
  com.github.castorflex.smoothprogressbar:library:1.1.0</p>
  <p>Error:(6, 13) Failed to resolve:
  com.loopj.android:android-async-http:1.4.6</p>
  <p>Error:(7, 13) Failed to resolve:
  com.google.apis:google-api-services-analytics:v3-rev115-1.20.0</p>
  </blockquote>
  <p>This is my build.grade file:</p>
  <pre><code>apply plugin: 'com.android.application'
  
  
  dependencies {
      compile fileTree(dir: 'libs', include: '*.jar')
      compile project(':librarySmartHotel')
      compile 'com.loopj.android:android-async-http:1.4.6'
      compile 'com.google.apis:google-api-services-analytics:v3-rev115-1.20.0'
      compile 'com.github.castorflex.smoothprogressbar:library:1.1.0'
      compile 'com.google.android.gms:play-services:6.5.87'
  }
  
  android {
      compileSdkVersion 19
      buildToolsVersion &quot;22.0.1&quot;
  
      defaultConfig {
          multiDexEnabled true
      }
  
      sourceSets {
          main {
              manifest.srcFile 'AndroidManifest.xml'
              java.srcDirs = ['src']
              resources.srcDirs = ['src']
              aidl.srcDirs = ['src']
              renderscript.srcDirs = ['src']
              res.srcDirs = ['res']
              assets.srcDirs = ['assets']
          }
  
          // Move the tests to tests/java, tests/res, etc...
          instrumentTest.setRoot('tests')
  
          // Move the build types to build-types/&lt;type&gt;
          // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
          // This moves them out of them default location under src/&lt;type&gt;/... which would
          // conflict with src/ being used by the main source set.
          // Adding new build types or product flavors should be accompanied
          // by a similar customization.
          debug.setRoot('build-types/debug')
          release.setRoot('build-types/release')
      }
  }
  </code></pre>
  <p>Do I have to configure something?? for example com.google.android.gms:play-services:6.5.87 is working perfect and I have not done any configuration.</p>
  <p>Any help will be appreciated.</p>