错误:
任务执行失败':app:compileDebugJavaWithJavac'
这是我的 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'
}
答案 0 :(得分:0)
打开终端(alt + F12)并打印
./gradlew clean build --stacktrace --info
这将显示问题