hivemq-mqtt-client icon indicating copy to clipboard operation
hivemq-mqtt-client copied to clipboard

Example doesn't work with Android 12

Open Halabdelkrim opened this issue 2 years ago • 1 comments

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

  • Affected HiveMQ MQTT Client version(s):
  • Used JVM version:
  • Used OS (name and version): Android 12
  • Used MQTT version:
  • Used MQTT broker (name and version):

Halabdelkrim avatar Jun 29 '22 01:06 Halabdelkrim

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

oreillymj avatar Jul 21 '22 14:07 oreillymj

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.

pglombardo avatar Nov 18 '22 14:11 pglombardo

Hi @pglombardo

Unfortunately, No.

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

Now, everything works well.

Halabdelkrim avatar Nov 18 '22 15:11 Halabdelkrim

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!

pglombardo avatar Nov 18 '22 15:11 pglombardo