Error: Invoke-customs are only supported starting with Android O (--min-api 26)
程序员文章站
2022-06-03 11:20:16
...
错误如下
错误的处理方法是在app 下面的android 里面 添加支持java 8
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
具体位置
上一篇: Android Studio运行失败:Error: Invoke-customs are only supported starting with Android O (--min-api 26)
推荐阅读
-
Invoke-customs are only supported starting with Android O (–min-api 26)
-
Error: Invoke-customs are only supported starting with Android O (--min-api 26)
-
Android Studio之编译t提示Invoke-customs are only supported starting with Android O (--min-api 26)
-
Error: Invoke-customs are only supported starting with Android O (--min-api 26)
-
Error: Invoke-customs are only supported starting with Android O (--min-api 26)
-
Android Studio运行失败:Error: Invoke-customs are only supported starting with Android O (--min-api 26)
-
Error: Invoke-customs are only supported starting with Android O (--min-api 26)
-
Invoke-customs are only supported starting with Android O (–min-api 26)
-
Error: Invoke-customs are only supported starting with Android O (--min-api 26)