Could not get unknown property 'packageForR' for task ':app:processDebugReso
Posted 千彧
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not get unknown property 'packageForR' for task ':app:processDebugReso相关的知识,希望对你有一定的参考价值。
butterknife 注解框架的问题
删除项目中的有关butterknife 的 apply plgin、classpath 字段
把注解框架改为最新版本
implementation ‘com.jakewharton:butterknife:8.8.1‘ annotationProcessor ‘com.jakewharton:butterknife-compiler:8.8.1‘解决问题
以上是关于Could not get unknown property 'packageForR' for task ':app:processDebugReso的主要内容,如果未能解决你的问题,请参考以下文章