java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/LocalBroadcastManager;
Opened this issue ยท 5 comments
Rohitsachdeva commented
this error is coming when user trying to connect with MqttAndroidClient
IMqttToken token = client.connect();
gaikwadChetan93 commented
@Rohitsachdeva Have you tried the updated code?
I have added support for AndroidX.
sunilitechnotion commented
For AndroidX please add the below line in gradle.properties file
android.enableJetifier=true
Keith-Brian commented
If using android X, In the gradle.properties file add the following line of code
android.enableJetifier=true
Rohitsachdeva commented
Sorry, I think I replaced whole code, I have have updated all packages from paho
wycliff commented
android.enableJetifier=true works, thanks.