I'm using android studio 3.0.0 Beta 5 and according to this link I should be able to use some Java 8 features for any SDK version. But instead, I'm getting this exception for the targeted SDK 22:
default or static interface method used without --min-sdk-version >= 24
While in the previous link, it is said that Default and static interface methods features is available for any SDK.
PS: the dependency using Java 8 is Spark
javac-based Java 8 support.compileSdkVersion 26,minSdkVersion 15andtargetSdkVersion 23.