invoke-customs are only supported starting with android o (--min-api 26) stack trace code example
Example: Invoke-customs are only supported starting with Android O (--min-api 26)
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}