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

android 12 设备点击升级无响应 #153

Open
qiuxiang opened this issue Sep 23, 2022 · 0 comments
Open

android 12 设备点击升级无响应 #153

qiuxiang opened this issue Sep 23, 2022 · 0 comments

Comments

@qiuxiang
Copy link
Contributor

image

这是一个官方确认的问题,表现为 android 12 设备点击升级无响应,并且可以看到 logcat

09-23 09:29:57.369  5232  5232 W System.err: java.lang.IllegalArgumentException: com.example: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.                                     
09-23 09:29:57.369  5232  5232 W System.err: 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.

要解决很简单,只要把 sdk 升级到最新就可以了

implementation 'com.tencent.bugly:crashreport_upgrade:1.5.23'//其中latest.release指代最新版本号,也可以指定明确的版本号,例如1.2.0

PR 已经提交:#152

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