项目:3.8.3 版本,报错信息如下:
Fatal Exception: java.lang.IllegalStateException
JobScheduler 100 job limit exceeded. We count 150 WorkManager jobs in JobScheduler; we have 20 tracked jobs in our DB; our Configuration limit is 20.
androidx.work.impl.background.systemjob.SystemJobScheduler.scheduleInternal (SystemJobScheduler.java:220)
java.lang.Thread.run (Thread.java:1119)
Caused by java.lang.IllegalStateException
Apps may not schedule more than 150 distinct jobs
android.os.Parcel.createExceptionOrNull (Parcel.java:3019)
android.os.Parcel.createException (Parcel.java:2995)
android.os.Parcel.readException (Parcel.java:2978)
android.os.Parcel.readException (Parcel.java:2920)
android.app.job.IJobScheduler$Stub$Proxy.schedule (IJobScheduler.java:263)
android.app.JobSchedulerImpl.schedule (JobSchedulerImpl.java:47)
androidx.work.impl.background.systemjob.SystemJobScheduler.scheduleInternal (SystemJobScheduler.java:191)
androidx.work.impl.background.systemjob.SystemJobScheduler.schedule (SystemJobScheduler.java:137)
androidx.work.impl.Schedulers.schedule (Schedulers.java:108)
androidx.work.impl.utils.ForceStopRunnable.forceStopRunnable (ForceStopRunnable.java:255)
androidx.work.impl.utils.ForceStopRunnable.run (ForceStopRunnable.java:134)
androidx.work.impl.utils.SerialExecutorImpl$Task.run (SerialExecutorImpl.java:96)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1156)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:651)
java.lang.Thread.run (Thread.java:1119)
Caused by android.os.RemoteException
Remote stack trace: at com.android.server.job.JobSchedulerService.scheduleAsPackage(JobSchedulerService.java:1210) at com.android.server.job.JobSchedulerService$JobSchedulerStub.schedule(JobSchedulerService.java:3099) at android.app.job.IJobScheduler$Stub.onTransact(IJobScheduler.java:153) at android.os.Binder.execTransactInternal(Binder.java:1285) at android.os.Binder.execTransact(Binder.java:1249)
。已经伴随很多版本了,一直存在无法解决,,,
,也可能是测试的时间不够,或者没有多个测试机去测。目前只有线上后台统计到有这个崩溃 