We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ktor Version and Engine Used io.ktor:ktor-client-okhttp:1.2.4
Describe the bug java.lang.NoClassDefFoundError: java.util.Objects in OkHttp
java.lang.NoClassDefFoundError: java.util.Objects
See OkHttp 3.13 Requires Android 5+ linked from issue square/okhttp#4716
Do I have to configure my own OkHttp instance (as requested here #903)? Can I do that given that Ktor includes a newer version of OkHttp?
To Reproduce Call HttpClient() on Android 4.x
HttpClient()
The text was updated successfully, but these errors were encountered:
Well, starting from that version okhttp requires Android 5 so there is nothing to do with ktor. Currently, we depend on 3.14.2.
Sorry, something went wrong.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
It's OkHttp version issue. I'm not sure that we're going to support old versions of OkHttp, consider using Android engine instead
e5l
No branches or pull requests
Ktor Version and Engine Used
io.ktor:ktor-client-okhttp:1.2.4
Describe the bug
java.lang.NoClassDefFoundError: java.util.Objects
in OkHttpSee OkHttp 3.13 Requires Android 5+ linked from issue square/okhttp#4716
Do I have to configure my own OkHttp instance (as requested here #903)? Can I do that given that Ktor includes a newer version of OkHttp?
To Reproduce
Call
HttpClient()
on Android 4.xThe text was updated successfully, but these errors were encountered: