DSAppTeam / Anchors

:white_check_mark: Anchors 是一个基于图结构,支持同异步依赖任务初始化 Android 启动框架。其锚点提供 "勾住" 依赖的功能,能灵活解决初始化过程中复杂的同步问题。参考 alpha 并改进其部分细节, 更贴合 Android 启动的场景, 同时支持优化依赖初始化流程, 自动选择较优的路径进行初始化。
Apache License 2.0
817 stars 79 forks source link

ANR ,AnchorsRuntime.tryRunBlockTask$anchors_release ANR triggered by main thread waiting for too long #44

Open billdizl opened 1 year ago

billdizl commented 1 year ago

main (waiting):tid=1 systid=9911 at java.lang.Object.wait(Native method) at java.lang.Object.wait(Object.java:442) at java.lang.Object.wait(Object.java:568) at com.effective.android.anchors.AnchorsRuntime.tryRunBlockTask$anchors_release(AnchorsRuntime.kt:106) at com.effective.android.anchors.AnchorsManager.start(AnchorsManager.kt:111) at com.chiquedoll.chiquedoll.view.BaseApplication.onCreate(BaseApplication.java:134) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1193) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6921) at android.app.ActivityThread.access$1400(ActivityThread.java:244) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1931) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7888) at java.lang.reflect.Method.invoke(Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:981)