You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.ExceptionInInitializerError
at org.eclipse.paho.android.service.MqttConnection.connect(Unknown Source:320)
at org.eclipse.paho.android.service.MqttService.connect(Unknown Source:5)
at org.eclipse.paho.android.service.MqttAndroidClient.doConnect(Unknown Source:53)
at org.eclipse.paho.android.service.MqttAndroidClient.access$200(Unknown Source:0)
at org.eclipse.paho.android.service.MqttAndroidClient$MyServiceConnection.onServiceConnected(Unknown Source:19)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1645)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1674)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6665)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.eclipse.paho.client.mqttv3.internal.nls.logcat, locale zh_CN
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1557)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1380)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:770)
at org.eclipse.paho.client.mqttv3.logging.LoggerFactory.getLogger(Unknown Source:6)
at org.eclipse.paho.client.mqttv3.MqttAsyncClient.(Unknown Source:22)
at org.eclipse.paho.android.service.MqttConnection.connect(Unknown Source:320)
at org.eclipse.paho.android.service.MqttService.connect(Unknown Source:5)
at org.eclipse.paho.android.service.MqttAndroidClient.doConnect(Unknown Source:53)
at org.eclipse.paho.android.service.MqttAndroidClient.access$200(Unknown Source:0)
at org.eclipse.paho.android.service.MqttAndroidClient$MyServiceConnection.onServiceConnected(Unknown Source:19)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1645)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1674)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6665)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
错误报告
java.lang.ExceptionInInitializerError
at org.eclipse.paho.android.service.MqttConnection.connect(Unknown Source:320)
at org.eclipse.paho.android.service.MqttService.connect(Unknown Source:5)
at org.eclipse.paho.android.service.MqttAndroidClient.doConnect(Unknown Source:53)
at org.eclipse.paho.android.service.MqttAndroidClient.access$200(Unknown Source:0)
at org.eclipse.paho.android.service.MqttAndroidClient$MyServiceConnection.onServiceConnected(Unknown Source:19)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1645)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1674)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6665)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.eclipse.paho.client.mqttv3.internal.nls.logcat, locale zh_CN
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1557)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1380)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:770)
at org.eclipse.paho.client.mqttv3.logging.LoggerFactory.getLogger(Unknown Source:6)
at org.eclipse.paho.client.mqttv3.MqttAsyncClient.(Unknown Source:22)
at org.eclipse.paho.android.service.MqttConnection.connect(Unknown Source:320)
at org.eclipse.paho.android.service.MqttService.connect(Unknown Source:5)
at org.eclipse.paho.android.service.MqttAndroidClient.doConnect(Unknown Source:53)
at org.eclipse.paho.android.service.MqttAndroidClient.access$200(Unknown Source:0)
at org.eclipse.paho.android.service.MqttAndroidClient$MyServiceConnection.onServiceConnected(Unknown Source:19)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1645)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1674)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6665)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
你做了什么?
集成Mqtt推送,android8.0系统启动mqtt的service报错(android系统7.1及以下正常)
你期望的结果是什么?
实际结果是什么?
Small环境
Compile-time
Bundles
Runtime
The text was updated successfully, but these errors were encountered: