You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting the application on Android 13 it gives the following, while on Android 10 the application opens perfectly:
FATAL EXCEPTION: main
Process: io.ionic.starter, PID: 24906
java.lang.RuntimeException: Unable to resume activity {io.ionic.starter/io.ionic.starter.MainActivity}: java.lang.IllegalArgumentException: io.ionic.starter: 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 seen that more people who have had this error (with different libraries) solve it by adding this to build.graddle:
implementation 'androidx.work:work-runtime-ktx:2.7.0'
But it hasn't worked for me. Is there any solution to this problem?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When starting the application on Android 13 it gives the following, while on Android 10 the application opens perfectly:
FATAL EXCEPTION: main
Process: io.ionic.starter, PID: 24906
java.lang.RuntimeException: Unable to resume activity {io.ionic.starter/io.ionic.starter.MainActivity}: java.lang.IllegalArgumentException: io.ionic.starter: 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 seen that more people who have had this error (with different libraries) solve it by adding this to build.graddle:
implementation 'androidx.work:work-runtime-ktx:2.7.0'
But it hasn't worked for me. Is there any solution to this problem?
Beta Was this translation helpful? Give feedback.
All reactions