eclipse-paho / eclipse-paho/paho.mqtt.java

no NetworkModule installed for scheme "tcp" of URI "tcp://{ip}:1883"

Open
#904 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

混淆后出现这个异常,加入-keep class org.eclipse.paho.mqttv5.** { *; }
异常依然存在,大神帮忙回复一下
java.lang.IllegalArgumentException: no NetworkModule installed for scheme "tcp" of URI "tcp://192.168.3.124:1883"
at org.eclipse.paho.mqttv5.client.internal.NetworkModuleService.validateURI(SourceFile:72)
at org.eclipse.paho.mqttv5.client.MqttAsyncClient.(SourceFile:573)
at org.eclipse.paho.mqttv5.client.MqttAsyncClient.(SourceFile:439)
at org.eclipse.paho.mqttv5.client.MqttClient.(SourceFile:280)
at com.jbj.autodrive.service.MqttManager$b.run(SourceFile:230)

- [ ] Bug exists in MQTTv5 Client on Snapshot Version 1.2.5

If this is a bug regarding the Android Service, please raise the bug here instead: https://github.com/eclipse/paho.mqtt.android/issues/new

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.