Android Studio 3.1.1更新问题Could not get unknown property 'packageForR' for task ':app:processDebugReso
这是![Android Studio 3.1.1更新问题Could not get unknown property 'packageForR' for task ':app:processDebugReso Android Studio 3.1.1更新问题Could not get unknown property 'packageForR' for task ':app:processDebugReso](/default/index/img?u=aHR0cHM6Ly9waWFuc2hlbi5jb20vaW1hZ2VzLzIwMy9iYTFiMzM2ODMzYjFlM2M5YTFjZmM3OGE5MDM0NjI0Yi5wbmc=)
butterknife
注解框架的问题删除项目中的
butterknife
classpath
删除plugin
把注解框架改为最新版本
implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'解决问题