title: Unable to resolve Robotium Dependency Android Studio
body: <p>I am trying to use Robotium for writing test cases in Android Studio and I am having a hard time configuring things.</p>
  
  <p>Following is my build.gradle inside the app.</p>
  
  <pre><code>apply plugin: 'android'
  
  android {
      compileSdkVersion 19
      buildToolsVersion '19.1.0'
      defaultConfig {
          minSdkVersion 11
          targetSdkVersion 19
          versionCode 1
          versionName '1.0'
      }
      buildTypes {
          release {
              runProguard false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
      lintOptions {
          abortOnError false
      }
      productFlavors {
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile project(':library')
  
      androidTestCompile 'com.jayway.android.robotium:robotium-solo:5.1'
      androidTestCompile 'junit:junit:4.11'
  
  }
  </code></pre>
  
  <p>When I clean the project, I get the following error:</p>
  
  <p>Error:A problem occurred configuring project ':NativeSDK'.</p>
  
  <blockquote>
    <p>Could not resolve all dependencies for configuration ':NativeSDK:_debugTestCompile'.
    Could not find com.jayway.android.robotium:robotium-solo:5.1.
         Required by:
             InAppSDK:NativeSDK:unspecified
    Could not find junit:junit:4.11.
         Required by:
             InAppSDK:NativeSDK:unspecified</p>
  </blockquote>
  
  <p>Any help on how to resolve this?</p>