Execution failed for task :app:compileDebugJavaWithJavac
<p>I picked up someone else's project and when I asked AS to run the project on my AVD, it pops me an error:</p>
<blockquote>
<p>Error:Execution failed for task ':app:compileDebugJavaWithJavac'.</p>
<p>Compilation failed; see the compiler error output for details.</p>
</blockquote>
<p>Here is my <code>build.gradle</code></p>
<pre><code>apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion &quot;23.0.2&quot;
    defaultConfig {
        applicationId 'ca.gggolf.aminutegolf'
        minSdkVersion 19
        targetSdkVersion 23
        versionCode 1
        versionName &quot;1.0&quot;
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.1.1'
}
</code></pre>
<p>I don't know what to do.. Everything else works fine and the app was working a couple of years ago when it was first made.</p>