Hello.
I'm updating my project to SDK 36. The new version runs on Android 16, but it can't connect to remote MQTT broker as version for SDK 35 on older Android version did.
So I'm updating to jMQTT v1.30 in B4A (v13.70), needed for targetSdkVersion 36 compliance.
I initially only downloaded the jMQTT.zip at: https://www.b4x.com/android/forum/threads/b4x-jmqtt-official-mqtt-client.59472/#content
Inside there are .jar and .xml files, which caused a "cannot find org.eclipse.paho.client.mqttv3-1.2.5.jar" error at compile time.
I didn't find this file in the forum, so I then downloaded the standard Paho jar from the Eclipse Foundation, but now I get a dex merge error:
Type org.eclipse.paho.client.mqttv3.internal.NetworkModuleService is defined multiple times
I understand this is because the official jMQTT package includes a modified version of the Paho jar (with NetworkModuleService removed) to avoid this exact conflict.
Could you point me to the correct full package/attachment containing the matching modified Paho jar for jMQTT 1.30, so I don't mix incompatible versions?
Thanks in advance!
Best Regards.
I'm updating my project to SDK 36. The new version runs on Android 16, but it can't connect to remote MQTT broker as version for SDK 35 on older Android version did.
So I'm updating to jMQTT v1.30 in B4A (v13.70), needed for targetSdkVersion 36 compliance.
I initially only downloaded the jMQTT.zip at: https://www.b4x.com/android/forum/threads/b4x-jmqtt-official-mqtt-client.59472/#content
Inside there are .jar and .xml files, which caused a "cannot find org.eclipse.paho.client.mqttv3-1.2.5.jar" error at compile time.
I didn't find this file in the forum, so I then downloaded the standard Paho jar from the Eclipse Foundation, but now I get a dex merge error:
Type org.eclipse.paho.client.mqttv3.internal.NetworkModuleService is defined multiple times
I understand this is because the official jMQTT package includes a modified version of the Paho jar (with NetworkModuleService removed) to avoid this exact conflict.
Could you point me to the correct full package/attachment containing the matching modified Paho jar for jMQTT 1.30, so I don't mix incompatible versions?
Thanks in advance!
Best Regards.