[
https://issues.apache.org/jira/browse/KAFKA-7025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308102#comment-17308102
]
Nikolai Lubiagov commented on KAFKA-7025:
-----------------------------------------
For me interested other question, how it may working without, on any Android
version? I get, this errors, because this is not part of Android Java.
```java.lang.ClassNotFoundException: Didn't find class
"javax.management.DynamicMBean"
Caused by: java.lang.ClassNotFoundException: Didn't find class
"java.lang.management.ManagementFactory"```
i append in Gradle build script this line import client library:
`implementation {color:#067d17}'org.apache.kafka:kafka-clients:2.7.0'`{color}
> 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
> Fix For: 3.0.0
>
> 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)