问题:
在使用最新版本的butterknife 10.1.0出现以下问题:
Error: Static interface methods are only supported starting with Android N (--min-api 24): void butterknife.Unbinder.lambda$static$0()
解决方法:
Add this to your build.gradle
android {
...........................
compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }
}