[ https://issues.apache.org/jira/browse/KAFKA-7025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17162049#comment-17162049 ]
Ismael Juma commented on KAFKA-7025: ------------------------------------ [~Pccesar] What Android API do you provide support for? The version distribution in May looked like: !image-2020-07-21-06-42-03-140.png! [Source: https://www.androidauthority.com/android-version-distribution-748439/|https://www.androidauthority.com/android-version-distribution-748439/] Usage for versions older than Oreo is decreasing, as expected, but they still account for slightly under 40% of users. > Android client support > ---------------------- > > Key: KAFKA-7025 > URL: https://issues.apache.org/jira/browse/KAFKA-7025 > Project: Kafka > Issue Type: Bug > Components: clients > Affects Versions: 1.0.1 > Reporter: Martin Vysny > Priority: Major > Attachments: image-2020-07-21-06-42-03-140.png > > > Adding kafka-clients:1.0.0 (also 1.0.1 and 1.1.0) to an Android project would > make the compilation fail: com.android.tools.r8.ApiLevelException: > MethodHandle.invoke and MethodHandle.invokeExact are only supported starting > with Android O (--min-api 26) > > Would it be possible to make the kafka-clients backward compatible with > reasonable Android API (say, 4.4.x) please? -- This message was sent by Atlassian Jira (v8.3.4#803005)