2016-11-09 67 views
0

错误:升级我的Android 2.2.2的工作室后,当我运行我的应用程序我得到一个错误

Execution failed for task ':app:compileDebugJavaWithJavac'

这是我摇篮文件

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' 

} 
+0

请包括gradle命令的输出。我们需要确切知道编译失败的原因。如果您在Android Studio中,请打开右下角的“Gradle控制台”。 –

回答

0

开放终端(ALT + F12)和打印

./gradlew clean build --stacktrace --info 

这将显示出了什么问题

相关问题