Error
[Android Error]Invoke-customs are only supported starting with Android O (--min-api 26)
onemask
2020. 7. 20. 14:38
Situation
라이브러리 추가 후 Rebuild 실행 후 발생된 에러
Reason
Invoke-custom 은 Java 8과 호환이 되어야 한다.
하여 에러 뿜뿜!!
Solution
android build.gradle(:app) 에
compileOption 을 정의해준다.
android {
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
Invoke-customs are only supported starting with Android O ( — min-api 26) — Solution
Possibly, one of the reason for this Invoke-customs support error is …
medium.com
Invoke-customs are only supported starting with android 0 --min-api 26
before i'm use build version gradle 26 but after change buildtoolsversion to 27 like as this image error : error build gradle screenshot
stackoverflow.com
LIST