升级我的android studio 2.2.2后,当我运行我的应用程序时出现错误

时间:2022-03-31 23:02:32

Error:

Execution failed for task ':app:compileDebugJavaWithJavac'

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

This is my Gradle file:

这是我的Gradle文件:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.3"

    defaultConfig {
        applicationId "com.anees.aneesdawran.osyar"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
    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 files('libs/universal-image-loader-1.9.0.jar')
    compile 'com.android.support:appcompat-v7:23.4.0'
    compile 'com.android.support:design:23.4.0'
    compile 'de.hdodenhof:circleimageview:1.2.1'
    compile 'com.android.support:recyclerview-v7:23.4.0'
    compile 'com.android.support:cardview-v7:23.0.1'
    compile 'com.android.support:support-v4:23.4.0'
    compile 'com.github.moondroid.coverflow:library:1.0'
    compile 'com.mcxiaoke.volley:library-aar:1.0.0'

}

1 个解决方案

#1


0  

open terminal(alt+F12) and print

打开终端(alt + F12)并打印

./gradlew clean build --stacktrace --info

this will show what's the problem

这将显示出什么问题

#1


0  

open terminal(alt+F12) and print

打开终端(alt + F12)并打印

./gradlew clean build --stacktrace --info

this will show what's the problem

这将显示出什么问题