When i run the application android OS 11 and below it is working but it not working Android os 12 when i deploy the application the following run time exception im getting. [AndroidRuntime] Strongly consider using FLAG_IMMUTABLE, only use…
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 F Gian Salaritan0Reputation points Sep 21, 2023, 12:49 AM ...
Error "Dependency 'androidx.appcompat:appcompat:1.4.1' requires 'compileSdkVersion' to be set to 31 or higher" after upgrading to 4.5.0 and "Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable" after update to SDK 31...
java.lang.IllegalArgumentException: x.y.z: 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 muta...