当前位置:网站首页>kotlin 插件更新到1.3.21
kotlin 插件更新到1.3.21
2022-07-31 05:15:00 【为今天而努力】
插件已经升级到1.3.21,demo 原来引用的是 1.2.41,太过老旧,升级时遇到各种引用找不到。与大家分享成功后的配置。
升级了最新版的 kotlin 插件原来的项目报一下错误,无法正常编译
ERROR: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher.
The following dependencies do not satisfy the required version:
root project 'Kotlin' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.41
Affected Modules: app
dependencies{
/** 过时引用 @Deprecated kotlin-stdlib-jre7 is deprecated since 1.2.0 and should be replaced with kotlin-stdlib-jdk7 less... (Ctrl+F1) Inspection info: This inspection reports that some deprecated dependency is used in Gradle.*/
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jre7:1.2.30'
}
ext.kotlin_version = ‘1.2.41’ ==> ext.kotlin_version = ‘1.3.21’
implementation ‘org.jetbrains.kotlin:kotlin-stdlib-jre7:1.2.30’ 会显示过时,将其替换为最新的版本
implementation ‘org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.21’ implementation ‘org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.21’
重新同步一下 File -> Sync Project with Gradle Files.
边栏推荐
- npm WARN config global `--global`, `--local` are deprecated. Use `--location解决方案
- MySQL错误-this is incompatible with sql_mode=only_full_group_by完美解决方案
- DeFi 项目中的治理Token
- [JVM Loading]---Class Loading Mechanism
- 阿里云中mysql数据库被攻击了,最终数据找回来了
- js中的this指向与原型对象
- 正则表达式基础知识
- vulhub靶场学习日记xxe-lab
- SSH自动重连脚本
- Fragmented NFT (Fractional NFT)
猜你喜欢
vulhub靶场学习日记xxe-lab
动态规划(一)| 斐波那契数列和归递
MySQL压缩包方式安装,傻瓜式教学
MySQL compressed package installation, fool teaching
MySQL错误-this is incompatible with sql_mode=only_full_group_by完美解决方案
Error: Cannot find module 'D:\Application\nodejs\node_modules\npm\bin\npm-cli.js'
继承、Super,重写、抽象类、抽象方法 1(第七天)
[Cloud Native] What should I do if SQL (and stored procedures) run too slowly?
小米手机短信定位服务激活失败
js中的this指向与原型对象
随机推荐
什么是EVM兼容链?
Build DVWA with phpstudy
著名网站msdn.itellyou.cn原理分析
vulhub靶场学习日记SickOs1.2
什么是 GameFi?
Yuan prospect and four track of the universe
常见JVM面试题及答案整理
Memcached :安装
Three-party login using wallet Metamask based on web3.0
leetcode-每日一题1252. 奇数值单元格的数目(模拟优化)
计网 Packet Tracer仿真 | 简单易懂集线器和交换机对比(理论+仿真)
数字孪生将成为进入“元宇宙”一项重要的途径
对js的数组的理解
MySQL错误-this is incompatible with sql_mode=only_full_group_by完美解决方案
年终总结——岁月静好~
powershell统计文件夹大小
[JVM Loading]---Class Loading Mechanism
带你搞懂MySQL隔离级别,两个事务同时操作同一行数据会怎样?
PHP中abstract(抽象)、final(最终)和static(静态)原理与用法
What is GameFi?