Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

物联网通信 com.tencent.iot.explorer:explorer-device-android:3.3.23 不支持android 12系统, #22

Open
SchrodingerKeyboard opened this issue Oct 15, 2024 · 0 comments

Comments

@SchrodingerKeyboard
Copy link

SchrodingerKeyboard commented Oct 15, 2024

物联网通信 com.tencent.iot.explorer:explorer-device-android:3.3.23 不支持android 12系统,

java.lang.IllegalArgumentException: xxx.xxx.xx: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
│ Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
│ at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
│ at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:645)
│ at android.app.PendingIntent.getBroadcast(PendingIntent.java:632)
│ at com.tencent.iot.hub.device.android.core.mqtt.TXAlarmPingSender.start(TXAlarmPingSender.java:70)
│ at org.eclipse.paho.client.mqttv3.internal.ClientState.connected(ClientState.java:1214)
│ at org.eclipse.paho.client.mqttv3.internal.ClientState.notifyReceivedAck(ClientState.java:1050)
│ at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:151)
│ at java.lang.Thread.run(Thread.java:920)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant