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的主要内容,如果未能解决你的问题,请参考以下文章

centos解决Could not resolve host: mirrorlist.centos.org; Unknown error问题

出现“Could not resolve host: www.github.com; Unknown error”错误解决

"Could not resolve host: mirrorlist.centos.org; Unknown error"解决方法

go get fatal: could not read Username for 'https://code.byted.org': terminal prompts disable

8623错误:The query processor ran out of internal resources and could not pro

Idea解法Failed to execute goal on project : Could not resolve dependencies for pro