Retrofit 2.9.0 on API levels lower than 21 #3525
Unanswered
jokoolle-183
asked this question in
Q&A
Replies: 3 comments
-
I would like to know this too, @jokoolle-183 did you maybe found the information about the Min Api level ? How to use it for example for Api 19 ? |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
We have an SDK which uses the latest version of the Retrofit library- 2.9.0. The SDK supports minimum API level 16, and Retrofit requires minimum API level 21, which causes the SDK to fail to initialize.
According to this blog post, attached to Retrofit 2.7.0 release changes, if we want support for 4.x Android devices, we would need to use the 3.12.x version of OkHttp library. Is there a way to set this version of OkHttp within the Retrofit library? If not, is there a workaround to make the Retrofit library work on API levels lower that 21?
Beta Was this translation helpful? Give feedback.
All reactions