Cannot add extension with name 'android'......
来源:互联网 发布:怎样应聘淘宝客服 编辑:程序博客网 时间:2024/05/29 23:46
在添加ButterKnife的时候,根据它的Readme配置以后报错:
Error:(2, 0) Cannot add extension with name 'android', as there is an extension already registered with that name.
解决方法如下:
默认我们在自己的module下添加后是这样的:
apply plugin: 'com.android.application'apply plugin: 'com.android.library'apply plugin: 'com.jakewharton.butterknife'此时,我们只需要删掉
apply plugin: 'com.android.library'这一行就行了,因为它跟com.android.application冲突了。
阅读全文
0 0
- Cannot add extension with name 'android'......
- cannot find class for bean with name ''
- cannot find class [xxx] for bean with name
- cannot find class [xxx] for bean with name
- Cannot find class for bean with name解决
- VC++6.0显示cannot compile the file***:no compile tool is associated with the file extension.
- Cannot add PPA: 'ppa:'. Please check that the PPA name or format is correct
- Today Extension and add group
- Save Failed Compilation unit name must end with .java, or one of the registered java-like extension
- Android.mk: Cannot find module with tag ....
- There is no Action mapped for namespace [/] and action name [user!add] associated with context path
- <add name="db_VoteConnectionString
- how to solve Error cannot add duplicate collection entry of type add with unique key attribute 'valu
- Cannot determine whether a queue with the specified format name exists.
- Oracle Clusterware Cannot Start on all Nodes: Network communication with node <NAME> missing for 90%
- A schema cannot contains two global components with the same name
- Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': Cannot cre
- cannot find class for bean with name的一种解决记录
- LightOJ 1048 Conquering Keokradong(二分+贪心)
- Windows 更新错误 0x80073712
- HDU6103 Kirinriki(尺取法,2017 HDU多校联赛 第6场)
- 等内切圆问题
- Nginx最新模块—ngx_http_mirror_module分析
- Cannot add extension with name 'android'......
- P1115 最大子段和
- CLR via C#垃圾回收
- IOS 有导航栏的时候,坐标从(0,64)变成从(0,0)开始
- c/c++内存释放应注意的问题
- CS开发和运维技术总结
- 操作系统
- 在Ubuntu/Linux环境下使用MySQL:安装MySQL Workbench
- IntelliJ 快捷--创建main函数