Attribute value must be constant

在搜索Attribute value must be constant后得到这样的说明:

Injection does not work in library projects

意为:在AndroidStudio的library的module中无法使用ButterKnife。

——–2017年8月23日更新——–

lyankj提醒,ButterKnife在8.1.0后期及之后版本中已经对【在library的module中使用butterknife】提供了支持:

ButterKnife:Attribute value must be constant

图片截于2017/08/23。这是butterknife的GitHub地址

通过gradle插件的形式可以使得butterknife在library的module中使用。

相关文章:

  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
  • 2021-07-01
  • 2021-11-20
相关资源
相似解决方案