butterknife使用Could not get unknown property 'packageForR' for task ':app:processDebugResources'
之前是添加butterknife直接出现错误,现在是运行错误,仔细查看错误信息,如下:
看到最后,看到有关butterknife相关的提示,应该还是butterknife中的错误
由于想到之前有些版本是不需要添加
apply plugin: 'com.jakewharton.butterknife' 这行的,就它先注释掉,最后再次运行,Okl啦。