Android添加ButterKnife时报错Error:(2 0) Cannot add extension with name ‘android’的解决办法
在添加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.butterk
用户评论