仅从 Android N (--min-api 24) 开始支持静态接口(interface)方法: okhttp3.Request okhttp3.Authenticator.lambda$static$0(okhttp3.Route, okhttp3.Response)
最佳答案
将此添加到您的 build.gradle 您的模块:app
android{
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
它会工作
关于android - 支持从 Android N (--min-api 24) : okhttp3. Request okhttp3.Authenticator 开始,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59565958/