Android Studio编译失败:Error: Invoke-customs are only supported starting with Android O (--min-api 26)
16lz
2021-01-23
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
关注头条号,第一时间获取最新文章:
更多相关文章
- C语言函数以及函数的使用
- android 语言简写对应表
- 总结系列-Android的文件系统
- Android实现自定义的 时间日期 控件
- android中的自定义控件
- 自定义控件其实很简单2/3
- android安装后控件拖不动问题解答
- [Android系列—] 1. Android 开发环境搭建与Hello World
- 安卓笔记:安卓控件属性大全