7***@qq.com
7***@qq.com
  • 发布:2024-10-19 19:59
  • 更新:2024-10-19 19:59
  • 阅读:227

mqtt插件引用不支持安卓14

分类:uni-app

mqtt插件在安卓14下存在如下问题
java.lang.SecurityException: uni.UNIA1AF455: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

2 6331-13004 AlarmPingSender uni.UNIA1AF455 D Register alarmreceiver to MqttServiceMqttService.pingSender.client123456
2024-10-19 18:24:39.239 6331-13004 AndroidRuntime uni.UNIA1AF455 E FATAL EXCEPTION: MQTT Rec: client123456
Process: uni.UNIA1AF455, PID: 6331
java.lang.SecurityException: uni.UNIA1AF455: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
at android.os.Parcel.createExceptionOrNull(Parcel.java:3071)
at android.os.Parcel.createException(Parcel.java:3055)
at android.os.Parcel.readException(Parcel.java:3038)
at android.os.Parcel.readException(Parcel.java:2980)
at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:6427)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1876)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1811)
at android.app.ContextImpl.registerReceiver(ContextI

2024-10-19 19:59 负责人:无 分享
已邀请:

要回复问题请先登录注册