问题
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':javaPreCompileRelease'.Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration.
-
dbflow-processor-4.2.4.jar (com.github.Raizlabs.DBFlow:dbflow-processor:4.2.4)
-
lombok-1.18.8.jar (org.projectlombok:lombok:1.18.8)
Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
See https://developer.android.com/r/tools/annotation-processor-error-message.html for more details. -
Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
相关配置 package.json
"com.android.support:support-v4:28.0.0",
"com.android.support:appcompat-v7:28.0.0",
"com.android.support:recyclerview-v7:28.0.0",
"com.facebook.fresco:fresco:1.13.0",
"com.facebook.fresco:animated-gif:1.13.0",
"com.github.bumptech.glide:glide:4.9.0",
"com.alibaba:fastjson:1.1.46.android",
"com.github.nkzawa:socket.io-client:0.6.0",
"com.github.Raizlabs.DBFlow:dbflow-processor:4.2.4",
"com.github.Raizlabs.DBFlow:dbflow-core:4.2.4",
"com.github.Raizlabs.DBFlow:dbflow:4.2.4",
"org.projectlombok:lombok:1.18.8"
7***@qq.com
请问下,你的这个问题咋解决的呀?
2020-11-06 17:22