任务':app:compileDebugJavaWithJavac'的更新模块面临错误执行失败

时间:2018-08-18 08:59:02

标签: android gradle android-gradle

我在更新Gradle之后就遇到了这个问题

Execution failed for task ':app:compileDebugJavaWithJavac'.

App Gradle:

compileSdkVersion 27

minSdkVersion 17

targetSdkVersion 27

dependencies {
    implementation project(':abringlibrary')
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:support-v4:27.1.1'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    implementation 'com.jakewharton:butterknife:8.8.1'
    implementation 'com.nineoldandroids:library:2.4.0'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
}

模块间距:

compileSdkVersion 27

minSdkVersion 17

targetSdkVersion 27

dependencies {
    implementation project(':abringlibrary')
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:support-v4:27.1.1'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    implementation 'com.jakewharton:butterknife:8.8.1'
    implementation 'com.nineoldandroids:library:2.4.0'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
}

构建错误:

失败:构建失败,并出现异常。

  • 出了什么问题:

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

  

编译失败;有关详细信息,请参见编译器错误输出。

0 个答案:

没有答案