当前位置:网站首页>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.
边栏推荐
猜你喜欢
[Cloud native] Simple introduction and use of microservice Nacos
For penetration testing methods where the output point is a timestamp (take Oracle database as an example)
How MySQL - depots table?A look at will understand
feign调用不通问题,JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
npm WARN config global `--global`, `--local` are deprecated. Use `--location solution
[swagger close] The production environment closes the swagger method
年终总结——岁月静好~
[JVM Loading]---Class Loading Mechanism
js中的全局作用域与函数作用域
Build DVWA with phpstudy
随机推荐
[swagger close] The production environment closes the swagger method
win11中利用IIS10搭建asp网站
mysql password modification method in Linux (pro-test available)
leetcode-每日一题873. 最长的斐波那契子序列的长度(哈希和二分)
gin框架学习-Gin框架和Gorm框架搭建一个简单的API微服务
2021 Mianjing - Embrace Change
5 methods of MySQL paging query
Object,多态 1(第八天)
MySQL高级学习笔记
【ubuntu20.04安装MySQL以及MySQL-workbench可视化工具】
How MySQL - depots table?A look at will understand
Linux modify MySQL database password
Eternal blue bug reappears
局部变量成员变量、引用类型、this,static(第五天)
动态规划(一)| 斐波那契数列和归递
代码块、Package,Import,封装(第六天)
vulhub靶场学习日记hackme2
阿里云中mysql数据库被攻击了,最终数据找回来了
(Crypto essential dry goods) Detailed analysis of the current NFT trading markets
2021美赛C题M奖思路