square / retrofit

A type-safe HTTP client for Android and the JVM
https://square.github.io/retrofit/
Apache License 2.0
42.99k stars 7.3k forks source link

Is Retrofit supported on API level 17 for API calling? #4010

Closed HirenBharodiya closed 9 months ago

HirenBharodiya commented 9 months ago

I'm currently working on a project that targets API level 17, and I'm considering using Retrofit for API calls. However, I couldn't find clear information about whether Retrofit supports API level 17. Could you please clarify whether Retrofit is compatible with API level 17 or if there are any specific considerations I should be aware of?

Thanks!

JakeWharton commented 9 months ago

We do not support anything below 21. However, it still might work, we simply don't actively support it. You'll just have to try. Retrofit itself doesn't really have any API restrictions, but OkHttp which is the HTTP client beneath it only supports API 21 and newer.