0
点赞
收藏
分享

微信扫一扫

butterknife升级10.1.0(此版本支持支持androidX)

钎探穗 2023-03-16 阅读 67


遇到

 

Failed to transform artifact 'butterknife-runtime.aar (com.jakewharton:butterknife-runtime:10.1.0)'

解决:给所有的 Module 加入jdk1.8

在 build.gradle 的 android 下加入下面代码 即可解决

compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}

 

举报

相关推荐

0 条评论