Skip to content Skip to sidebar Skip to footer

After Changing The Version To Androidx, It Does Not Become Mqtt Connect

After changing version to Androidx and can not connect to mqtt server. It worked well in other versions than Androidx. Is this a version problem? My source code and build informati

Solution 1:

Try setting android.enableJetifier=true in gradle.properties file. If that doesn't work, try adding implementation 'androidx.legacy:legacy-support-v4:1.0.0' to build.grade.

This problem has been solved before in the next links, I highly recommend checking them out, specially 420:

https://github.com/eclipse/paho.mqtt.android/issues/321

https://github.com/eclipse/paho.mqtt.android/issues/420

Post a Comment for "After Changing The Version To Androidx, It Does Not Become Mqtt Connect"