gyf-dev / Cactus

Android Keep Alive(安卓保活),Cactus 集成双进程前台服务,JobScheduler,onePix(一像素),WorkManager,无声音乐
Apache License 2.0
1.56k stars 231 forks source link

Android8异常:Unable to start service com.gyf.cactus.service.LocalService #24

Closed vomobile closed 3 years ago

vomobile commented 4 years ago

java.lang.RuntimeException: Unable to start service com.gyf.cactus.service.LocalService@d1611c9 with Intent { cmp=com.test/com.gyf.cactus.service.LocalService (has extras) }: java.lang.RuntimeException: Not allowed to write file descriptors here : ActivityThread.java:3696 Caused by: java.lang.RuntimeException: Not allowed to write file descriptors here at android.os.Parcel.nativeAppendFrom(Native Method)

Android8有时会出现以上异常