Android Studio运行失败:Error: Invoke-customs are only supported starting with Android O (--min-api 26)
程序员文章站
2022-06-03 11:20:22
...
我当时是能够编译通过,所以就没想gradle的事,最后果然还是gradle里的问题,在android节点下的compileOptions节点没有添加,加上接着就好了。
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
上一篇: React Antd Upload上传文件前弹窗询问
下一篇: 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)