xinthink / flt_worker

Schedule & run Dart code in the background on both Android & iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I got error when i am run my app

lkrjangid1 opened this issue · comments


√  Built build\app\outputs\flutter-apk\app-debug.apk.
E/AndroidRuntime(28338): FATAL EXCEPTION: pool-6-thread-1
E/AndroidRuntime(28338): Process: com.astechtic.raksha, PID: 28338
E/AndroidRuntime(28338): java.lang.IllegalArgumentException: com.astechtic.raksha: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
E/AndroidRuntime(28338): 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.
E/AndroidRuntime(28338): 	at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
E/AndroidRuntime(28338): 	at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:645)
E/AndroidRuntime(28338): 	at android.app.PendingIntent.getBroadcast(PendingIntent.java:632)
E/AndroidRuntime(28338): 	at androidx.work.impl.utils.ForceStopRunnable.getPendingIntent(ForceStopRunnable.java:196)
E/AndroidRuntime(28338): 	at androidx.work.impl.utils.ForceStopRunnable.isForceStopped(ForceStopRunnable.java:128)
E/AndroidRuntime(28338): 	at androidx.work.impl.utils.ForceStopRunnable.run(ForceStopRunnable.java:93)
E/AndroidRuntime(28338): 	at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
E/AndroidRuntime(28338): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime(28338): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime(28338): 	at java.lang.Thread.run(Thread.java:920)