Closed rahuljain88 closed 4 years ago
Put in your gradle file: android { ... compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } }
You can read more here: https://developer.android.com/studio/write/java8-support
Thank you so much , issue is resolved
We are getting below error while using 3.4.0 version ..
We have used com.android.tools.build:gradle:3.4.2 gradle version
AGPBI: {"kind":"error","text":"Default interface methods are only supported starting with Android N (--min-api 24): void org.aspectj.lang.ProceedingJoinPoint.stack$AroundClosure(org.aspectj.runtime.internal.AroundClosure)","sources":[{}],"tool":"D8"}
is this only work with min api level 24 ?