您当前的位置: 首页 >  Java

ZhangJiQun&MXP

暂无认证

  • 4浏览

    0关注

    1187博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Error:Execution failed for task ':app:javaPreCompileDebug'. > Annotation processors must be explicit

ZhangJiQun&MXP 发布时间:2018-06-04 21:42:33 ,浏览量:4

Error:Execution failed for task ':app:javaPreCompileDebug'. > 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.     - icepick-processor-3.2.0.jar (frankiesardo:icepick-processor:3.2.0)   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.

 

在app的gradle的defaultconfig中加上:

javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } }

 

关注
打赏
1665659684
查看更多评论
立即登录/注册

微信扫码登录

0.0452s