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

Fatal Exception: java.lang.IllegalArgumentException #28

Open
nicola73 opened this issue Jan 26, 2022 · 0 comments
Open

Fatal Exception: java.lang.IllegalArgumentException #28

nicola73 opened this issue Jan 26, 2022 · 0 comments

Comments

@nicola73
Copy link

I have this error on Android 12
Fatal Exception: java.lang.IllegalArgumentException
com.teamsystem.peopleapp.store: 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.app.PendingIntent.checkFlags (PendingIntent.java:382)
android.app.PendingIntent.getActivityAsUser (PendingIntent.java:465)
android.app.PendingIntent.getActivity (PendingIntent.java:451)
android.app.PendingIntent.getActivity (PendingIntent.java:415)
com.huawei.hms.api.b.getErrPendingIntent (HuaweiApiAvailabilityImpl.java:10)
com.huawei.hms.common.internal.BaseHmsClient.resolution (BaseHmsClient.java:3)
com.huawei.hms.common.internal.BaseHmsClient.checkAvailabilityAndConnect (BaseHmsClient.java:34)
com.huawei.hms.common.internal.BaseHmsClient.connect (BaseHmsClient.java:1)
com.huawei.hms.common.internal.HuaweiApiManager$ConnectionManager.connect (HuaweiApiManager.java:21)
com.huawei.hms.common.internal.HuaweiApiManager$ConnectionManager.sendRequest (HuaweiApiManager.java:22)
com.huawei.hms.common.internal.HuaweiApiManager.connectAndSendRequest (HuaweiApiManager.java:7)
com.huawei.hms.common.internal.HuaweiApiManager.handleMessage (HuaweiApiManager.java:7)
android.os.Handler.dispatchMessage (Handler.java:102)
android.os.Looper.loopOnce (Looper.java:226)
android.os.Looper.loop (Looper.java:313)
android.os.HandlerThread.run (HandlerThread.java:67)

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