错误:更新android studio 2.2后':app:compileDebugJavaWithJavac'

时间:2016-10-02 07:10:31

标签: android android-studio

更新android studio 2.2后,我收到编译错误。在这方面你能帮我吗?

错误:任务执行失败':app:compileDebugJavaWithJavac'

我的Gradle文件是:(项目)

    // 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.3.0'

            // NOTE: Do not place your application dependencies here; they belong
            // in the individual module build.gradle files
        }
    }

    allprojects {
        repositories {
            jcenter()
        }
    }

    task clean(type: Delete) {
        delete rootProject.buildDir
    }
---------------------------------------------------------------------------

我的Gradle文件是:(模块)

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "com.test"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 2
        versionName "1.1"
    }
    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.android.support:appcompat-v7:23.1.1'
    compile 'com.android.support:design:23.1.1'
    compile 'com.android.support:cardview-v7:23.1.1'
    compile 'commons-io:commons-io:1.3.2'
    compile 'com.google.code.gson:gson:2.4'
    compile 'de.hdodenhof:circleimageview:1.2.1'
    compile 'com.jpardogo.materialtabstrip:library:1.1.0'
    compile 'com.facebook.android:facebook-android-sdk:4.15.0'
}

0 个答案:

没有答案