按在developer.android網站錯誤:Jack需要支持Java 8語言功能。無論是讓傑克或刪除sourceCompatibility JavaVersion.VERSION_1_8
"The Jack toolchain is deprecated, as per this announcement. If your project depends on Jack, you should migrate to using Java 8 support built into Android Studio’s default toolchain."
我需要使用lambda表達式,所以我已經禁用了插口選項的,但是當我編譯我提到代碼中,我得到以下錯誤
Error:Jack is required to support Java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8.
下面是我的build.gradle文件的截圖
如果我們不使用AS的測試版本,沒有解決方法呢? – desgraci