我在更新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'的执行失败。
编译失败;有关详细信息,请参见编译器错误输出。