Class ‘com.xxxx.Log‘ was compiled with an incompatible version of Kotlin.

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插件版本不同,需要进行升级。

需要将:

复制代码
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30'

改为:

复制代码
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10'
相关推荐
89315196035 分钟前
Android开发Glide做毛玻璃效果
android·glide·android开发·android教程·glide做毛玻璃效果
Suckerbin36 分钟前
第十一章-PHP表单传值
开发语言·php
元亓亓亓1 小时前
Java后端开发day38--不可变集合&Stream流
java·开发语言
努力创造奇迹1 小时前
C 语言联合体、枚举、typedef 详解
c语言·开发语言
whysqwhw1 小时前
DRouter代码走读
android
AI_RSER1 小时前
Python 数据可视化全场景实现(一)
开发语言·人工智能·python·信息可视化·遥感
eqwaak01 小时前
Matplotlib高阶技术全景解析(续):动态交互、三维可视化与性能优化
开发语言·python·语言模型·性能优化·交互·matplotlib
愚润求学1 小时前
【专题四】前缀和(3)
开发语言·c++·笔记·leetcode·刷题·c++11
hu_yuchen2 小时前
C++:智能指针
开发语言·c++
类似不类似2 小时前
快速配置linux远程开发-go语言
开发语言·后端·golang