当前位置: 代码迷 >> 综合 >> Static interface methods are only supported starting with Android N (--min-api 24): #1416
  详细解决方案

Static interface methods are only supported starting with Android N (--min-api 24): #1416

热度:99   发布时间:2024-01-24 14:08:05.0

Question:

      ButterKnife 引用报错

Answer:

module android中添加如下:

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

  相关解决方案