eclipse-paho / eclipse-paho/paho.mqtt.java
no NetworkModule installed for scheme "tcp" of URI "tcp://{ip}:1883"
- 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
Assessment
This issue has not been assessed yet.