修复 S+ 后,应用程序在三星型号中冻结瞄准 S+ (31及以上版本)
我有一个应用程序,它在更新到SDK 31后会崩溃,我已经修复了添加flag_immutables。但是现在该应用没有崩溃。它显示了窗口小部件中的应用程序冻结。对此的任何想法。
Unable to start receiver .widget.WidgetProvider: java.lang.IllegalArgumentException: : 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.
I have an app, it makes crashes after updating to the sdk 31, I have fixed with adding the FLAG_IMMUTABLEs. But now the app not crashing. It shows the app freezing in widgets. Any thoughts on this.
Unable to start receiver .widget.WidgetProvider: java.lang.IllegalArgumentException: : 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论