Static interface methods are only supported starting with Android N (--min-api 24): okhttp3.Request okhttp3.Authenticator.lambda$static$0(okhttp3.Route, okhttp3.Response)
Asked
Active
Viewed 4,038 times
1 Answers
25
Add this in your build.gradle of your Module:app
android{
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
It will work

sai Pavan Kumar
- 1,129
- 12
- 20
-
what is the current `JavaVersion` . are you decreasing the java version or increasing . – mufazmi May 13 '20 at 00:31