Android(安卓)Studio编译失败:Error: Invoke-customs are only supported starting with Android(安卓)O (--min-api
16lz
2021-12-04
Android Studio编译报错:
Error: Invoke-customs are only supported starting with Android O (--min-api 26)
解决方案:
build.gradle文件中android节点下增加:
compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }
安卓开发入门教程系列汇总
初探安卓
安装开发工具
创建第一个安卓工程
开发语言学习
Kotlin语言基础
UI控件学习系列
UI控件_TextView
UI控件_EditText
UI控件_Button
UI控件_ImageView
UI控件_RadioButton
UI控件_CheckBox
UI控件_ProgressBar
关注头条号,第一时间获取最新文章:
更多相关文章
- android 语言简写对应表
- Android(安卓)常用布局
- 利用View.inflate加载xml
- 总结系列-Android的文件系统
- 安卓巴士Android开发神贴整理
- Android实现自定义的 时间日期 控件
- android中的自定义控件
- Android(安卓)常见的五大布局
- android学习之LinearLayout