Class 'com.xxxx.Log' was compiled with an incompatible version of Kotlin. ?The binary version of its metadata is 1.7.1, expected version is 1.5.1.
原因:在build.gradle中使用了1.5.30版本的kotlin插件,與第三方庫中的kotlin插件版本不同,需要進(jìn)行升級。
需要將:文章來源:http://www.zghlxwxcb.cn/news/detail-673056.html
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30'
改為:文章來源地址http://www.zghlxwxcb.cn/news/detail-673056.html
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10'
到了這里,關(guān)于Class ‘com.xxxx.Log‘ was compiled with an incompatible version of Kotlin.的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!