AS 3.4.2
gradle版本
distributionUrl=https://services.gradle.org/distributions/gradle-4.10.1-all.zip
gradle tool 版本
classpath 'com.android.tools.build:gradle:3.3.1'
butterknife 各版本都试过 依然报错如下~
> Task :app:compileDebugJavaWithJavac FAILED
Gradle may disable incremental compilation as the following annotation processors are not incremental: butterknife-compiler-8.6.0.jar (com.jakewharton:butterknife-compiler:8.6.0).
Consider setting the experimental feature flag android.enableSeparateAnnotationProcessing=true in the gradle.properties file to run annotation processing in a separate task and make compilation incremental.
javacTask: 源发行版 1.8 需要目标发行版 1.8
gradle.properties添加
android.enableSeparateAnnotationProcessing=true
依然报错,并提示不生效
WARNING: The option setting 'android.enableSeparateAnnotationProcessing=true' is experimental and unsupported.
The current default is 'false'.
Affected Modules: app, permission, slideDateTimePicker
javacTask: 源发行版 1.8 需要目标发行版 1.8
暂时未解决
网友评论