paho.mqtt.android
paho.mqtt.android copied to clipboard
Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1357 android.content.ContextWrapper.startService:613 org.eclipse.paho.android.service.MqttAndroidClient.connect:414
- [ ] Bug exists 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0'
- [ ] Bug exists 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
Android API Version Bug Seen on: compileSdkVersion 28
Description of Bug:
android:sharedUserId="android.uid.system"
Console Log output (if available):
Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1357 android.content.ContextWrapper.startService:613 org.eclipse.paho.android.service.MqttAndroidClient.connect:414
I have the same issue when i try to run client as system service in android:
"2021-01-17 17:32:54.235 2671-4056/system_process W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1649 org.eclipse.paho.android.service.MqttAndroidClient.connect:425 com.android.server.MqttClientService.init:196 android.app.IMqttClientServiceManager$Stub.onTransact:124 android.os.Binder.execTransactInternal:1021 2021-01-17 17:32:54.235 2671-4056/system_process W/ActivityManager: Unable to start service Intent { cmp=android/org.eclipse.paho.android.service.MqttService } U=0: not found"
How to resolve the problem?
add
<service android:name="org.eclipse.paho.android.service.MqttService"/>
on your AndroidManifest.xml,it can slove it!