使用apt导入时报警告:Warning:Using incompatible plugins for the annotation processing: android-apt. This may
来源:互联网 发布:万网域名后台 编辑:程序博客网 时间:2024/06/07 05:01
使用apt来导入butterknife和dagger的时候,会报警告 Warning:Using incompatible plugins for the annotation processing: android-apt. This may result in an unexpected behavior.解决方案:
1、apt 'com.jakewharton:butterknife-compiler:8.2.0' 改为=》annotationProcessor 'com.jakewharton:butterknife-compiler:8.2.0'
2、删除:project build.gradle 中的
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' 添加apt的操作 3、删除 app build.gradle 中的:
apply plugin: 'com.neenbedankt.android-apt'以上三步完成后同步就ok了
阅读全文
0 0
- 使用apt导入时报警告:Warning:Using incompatible plugins for the annotation processing: android-apt. This may
- Warning:Using incompatible plugins for the annotation processing: android-apt. This may result in an
- 使用dataBinding出现Warning:Using incompatible plugins for the annotation processing: android-apt.
- java annotation processing tools(APT)实例解析
- 解决Warning:android-apt plugin is incompatible with future version of Android Gradle plugin.
- Warning:android-apt plugin is incompatible with future version of Android Gradle plugin. Please use
- Warning:android-apt plugin is incompatible with future version of Android Gradle plugin
- 警告 1 warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead
- VS2010 警告1warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s
- 1.Android注解-编译时生成代码 APT(Annotation Processing Tool ) Poet 说明
- 2.Android注解-编译时生成代码 APT(Annotation Processing Tool ) 实例说明
- Java8 移除了APT以及mirror API后,使用Pluggable Annotation Processing API
- Android开发:Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'anno
- Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProc
- Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProc
- android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProcessor'
- JSR296 为 annotation processing 安装 Eclipse : m2e-apt 插件
- No cached version of com.neenbedankt.gradle.plugins:android-apt:1.8 available for offline mode.
- linux系统中的进程
- 【面向JS--正则表达式】
- css position
- 网站用户行为统计数据
- android开发之-查看、编辑手机sqlite数据库文件
- 使用apt导入时报警告:Warning:Using incompatible plugins for the annotation processing: android-apt. This may
- VAE、GAN、Info-GAN:全解深度学习三大生成模型
- 处理SYSMAN用户坏块问题
- 在oracle中,怎么新建一个字符集是utf8的数据库(即数据库实例)
- 快速集成一个视频直播功能
- mysql开启远程访问权限
- 设计模式(5)--反向理解建造者模式
- Android layout布局属性、标签属性总结大全。
- 用Javascript获取页面元素的位置