title: Gradle project sync failed. Basic functionality will not work properly
body: <p>I updated to Android Studio 1.2 and now have a two errors. </p>
  
  <p>When I first open my project I get this error at the top of the screen.</p>
  
  <p>"Gradle project sync failed. Basic functionality will not work properly."</p>
  
  <p><img src="https://i.stack.imgur.com/El7N7.jpg" alt="enter image description here"></p>
  
  <p>In the Messages Gradle Sync I get</p>
  
  <p><img src="https://i.stack.imgur.com/3vTMo.jpg" alt="enter image description here"></p>
  
  <p>My gradle files are:</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.0.0'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android
          {
      signingConfigs {
          config {
              keyAlias 'ScoularAndroidKey'
              keyPassword 'password'
              storeFile file('C:/Users/bschmiedeler/.AndroidStudio/scoularkeystore.jks')
              storePassword 'password'
          }
      }
      name="Scoular"
      compileSdkVersion 21
      buildToolsVersion "21.1.2"
      defaultConfig {
          applicationId "com.scoular.scoular"
          minSdkVersion 15
          targetSdkVersion 21
          versionCode 1
          versionName "1.0.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
              signingConfig signingConfigs.config
          }
          debug{
              debuggable true
          }
      }
  }
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile files('libs/commons-lang-2.3.jar')
      compile 'com.android.support:appcompat-v7:21.0.3'
      compile 'com.android.support:support-v4:21.0.3'
      compile 'com.google.android.gms:play-services:6.5.87'
      compile files('src/main/assets/library-1.0.10.jar')
  }
  </code></pre>
  
  <p>By looking through Stack Overflow I have found some potential solutions. </p>
  
  <p>I have tried File ==> Invalidate and Restart and removing the files that you are supposed to. I am just stuck. Any help would be greatly appreciated.</p>