ComposeOptions.kotlinCompilerVersion is deprecated
我为我的 Compose 工程升级 AGP 后 (7.0.0 > 7.0.2)重新编译发生下面错误
ComposeOptions.kotlinCompilerVersion is deprecated. Compose now uses the kotlin compiler defined in your buildscript.
以前需要通过该 composeOptions
指定 Kotlin 版本
升级后,直接复用 buildScript 的 Kotlin 版本, composeOptions
已经没用了,可以删掉即可
buildscript {ext.kotlin_version = '1.5.31'//....dependencies {classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"}
}
ComposeOptions.kotlinCompilerVersion is deprecated相关推荐
- DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5
原来的python脚本是在Ubuntu 14.04 64bit上写的,运行没有问题,但是在CentOS 6.3上的crontab中定时执行时,每次都报 DeprecationWarning: the ...
- 【FFmpeg】解决警告warning: xxx is deprecated [-Wdeprecated-declarations]的方法
1.问题描述 编译FFmpeg程序时,经常报一些关于"deprecated"的警告信息,具体内容如下: decode.cpp:28:2: warning: 'void av_reg ...
- php解决 mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysq
微信小程序开发交流qq群 173683895 承接微信小程序开发.扫码加微信. The mysql extension is deprecated and will be removed i ...
- 解决 The mysql extension is deprecated and will be r
为什么80%的码农都做不了架构师?>>> 解决 The mysql extension is deprecated and will be removed in the fut ...
- neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead
1.现象描述: 以前在测试环境中使用过icehouse版本,记得当时查看网络列表是使用neutron net-list,最近两天在测试openstack ocata的时候发现好多之前的命令都不能正常使 ...
- C++关键字deprecated
指示声明有此属性的名字或实体被弃用,即允许但因故不鼓励使用. 语法 [[deprecated]] [[deprecated( 字符字面量 )]] 解释 指示允许使用声明有此属性的名称或实体,但因故不鼓 ...
- Pandas 中的这些函数/属性将被 deprecated
作者 | luanhz 来源丨小数志 导读 Pandas对于日常数据分析和处理来说是最常用的工具(没有之一),笔者之前也总结分享了很多相关用法和技巧. 与之不同,今天本文来介绍几个已经在函数文档中列入 ...
- PHP问题 —— Deprecated: Function ereg_replace() is de
1.1 Deprecated: Function ereg_replace() is deprecated 1.1.1 现象 运行应用出现如下错误提示: Deprecated: Function ...
- ORA-32004: obsolete and/or deprecated parameter(s) specified
错误信息: 启动数据库报错,虽然能正常启动,但是每次看到这个ORA就不爽: SQL> startup ORA-32004: obsolete and/or deprecated paramete ...
- ImportError: The plotly.plotly module is deprecated,please install the chart-studio
ImportError: The plotly.plotly module is deprecated,please install the chart-studio package and use ...
最新文章
- 【译】RAID的概念和RAID对于SQL性能的影响
- Direct3D中设备丢失处理
- php使用axios发送请求,axios源码之模拟实现axios发送请求
- UICollectionViews有了简单的重排功能
- Pandas 文本数据方法 find( ) rfind( ) index( ) rindex( )
- 15年3月c语言试卷,2015年3月计算机二级C语言试卷及答案..doc
- C++(八)— 死锁原因及解决方法
- appium移动自动化测试-安装2
- 棒棒的毛笔字PS教程
- android前置拍照镜像代码,在Android中镜像前置摄像头
- idea回到上一个光标位置
- 按洲划分的国家和地区代码整理 包含:中文名 英文名 洲 首字母 两位英文代码 三位英文代码 三位数据代码 洲
- 生产订单的计划、实际成本与产出查看
- JAVAFX界面跳转和加载不同的界面
- Windows10 22H2 19045.2130推送了!
- c语言中 “=”和”==“的区别
- Go home or stand up
- Excel的写入和读操作,以及.xls和.xlsx文件的区别
- 常见的排序算法及java实现
- 看雪学院-OllyDBG入门系列(三)笔记