2025-05-22 20:26:11.270 17274-17274 MicroMsg.S...ApiImplV10 com.boyan.metaphysics E launchWXUsingPendingIntent pendingIntent send failed: com.boyan.metaphysics: 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.
android里调用微信支付报错之前用的targetsdk是33,调用支付接口没有问题,但最近因为升级开发工具,将targetsdk改成了35. 调用支付接口报错:sendUsingPendingIntent fail, ex = com.one.aivoice: 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.
05-22