As indicated on the .android developer website
"The Jack toolchain is deprecated as indicated in this announcement. The project depends on Jack, you must switch to using the Java 8 support built into the default toolchain for Android Studios."

I need to use lambda expressions, so I disabled the connector options, but when I compile my code, I get the following error
Error:Jack is required to support Java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8.
Below is a screenshot of my build.gradle file

source share