hivemq / hivemq-mqtt-client

HiveMQ MQTT Client is an MQTT 5.0 and MQTT 3.1.1 compatible and feature-rich high-performance Java client library with different API flavours and backpressure support
https://hivemq.github.io/hivemq-mqtt-client/
Apache License 2.0
847 stars 158 forks source link

Example doesn't work with Android 12 #532

Closed Halabdelkrim closed 1 year ago

Halabdelkrim commented 2 years ago

Expected behavior

Connect to the broker

Actual behavior

I use the same steps described in this page https://www.hivemq.com/blog/mqtt-client-library-enyclopedia-paho-android-service/, but the application crashes once the connect button clicked.

To Reproduce

Steps

Reproducer code

Details

oreillymj commented 2 years ago

Can you post the error you see in Android Studio/Logcat

pglombardo commented 1 year ago

Hi @Halabdelkrim - do you have any updates on this issue?

Considering the post was written in 2015, it may likely need some updates to follow recent changes.

If I don't hear back, I'll forward the details to the original blog post guest author and close out this issue.

Halabdelkrim commented 1 year ago

Hi @pglombardo

Unfortunately, No.

I completely changed the platform from Android Studio to Visual Studio "Xamarin".

Now, everything works well.

pglombardo commented 1 year ago

That's great to hear. Hopefully you didn't burn too much time with the issue under Android Studio.

I'll close this issue then. If anything else comes up, feel free to get in touch!