Hi Roshan,


DynamicMBean sounds like JMX and as far as I know you can't use JMX on Android.



As far as I know, Android Java is not quite "real java". A great part of the 
Java SE environment has been ported and available on the Dalvik VM Android 
uses, but not all.

Especially the JMX part seems to be unavailable.



When I did the Ant -> Maven migration, there were a lot of modules not 
available in the Android flavor. While doing the conversion I enabled all 
modules, that didn't explicitly fail.

Turns out when testing applications with Java7 SE you can't catch Dalvik 
problems (



I'll try finding out how to run Kafka applications on Android. But you should 
eventually be prepared to hear a "ups ... sorry ... seems android-kafka simply 
can't work" ...



I'll keep you posted ...





Chris











Am 06.08.18, 12:25 schrieb "Roshan Bharath Das" <roshanbharath...@gmail.com>:



    Hello,

    

    I tried using Kafka for Android by creating a hello world example. But, I 
am getting " java.lang.NoClassDefFoundError: Failed resolution of: 
Ljavax/management/DynamicMBean;” error when I try to run it. 

    

    I was wondering if the edgent kafka connector works for Android? Could 
anyone help me with this?

    

    

    Best Regards,

    Roshan


Reply via email to