知乎崩溃 自动重启
Closed this issue · 0 comments
WilliamK7 commented
日志如下
[ 2023-08-19T12:00:48.175 10681: 21963: 21963 I/LSPosed-Bridge ] Crash unexpectedly: java.lang.ExceptionInInitializerError
at com.zhihu.android.media.initialize.d.e(ZHVideoPlayerInitializer.java:1063)
at com.zhihu.android.video.player2.VideoPlayerLifecycle.onGlobalStartSync(VideoPlayerLifecycle.java:108)
at com.zhihu.android.app.crossActivityLifecycle.Cross_VideoPlayerLifecycle.onGlobalStartSync(Cross_VideoPlayerLifecycle.java:33)
at com.zhihu.android.app.crossActivityLifecycle.-$$Lambda$K-YIE1H2ebWLKELt-1YqyObVjyA.invoke(Unknown Source:2)
at com.zhihu.android.app.crossActivityLifecycle.c$c.b(CrossLifecycleManager.java:306)
at com.zhihu.android.app.crossActivityLifecycle.c$c.m(CrossLifecycleManager.java:224)
at com.zhihu.android.app.crossActivityLifecycle.c$c.lambda$4E7OL0-mmYsZvkdrv9BHdIdzUHk(Unknown Source:0)
at com.zhihu.android.app.crossActivityLifecycle.-$$Lambda$c$c$4E7OL0-mmYsZvkdrv9BHdIdzUHk.accept(Unknown Source:6)
at java8.util.f$a.accept(DelegatingSpliterator.java:99)
at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235)
at java8.util.f.a(DelegatingSpliterator.java:57)
at java8.util.stream.bl$a.c(ReferencePipeline.java:621)
at com.zhihu.android.app.crossActivityLifecycle.c$c.onActivityStarted(CrossLifecycleManager.java:224)
at com.zhihu.android.app.crossActivityLifecycle.c$2.onActivityStarted(CrossLifecycleManager.java:153)
at android.app.Application.dispatchActivityStarted(Application.java:400)
at android.app.Activity.dispatchActivityStarted(Activity.java:1369)
at android.app.Activity.onStart(Activity.java:1894)
at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:535)
at androidx.appcompat.app.d.onStart(AppCompatActivity.java:210)
at com.trello.rxlifecycle2.a.a.a.onStart(RxAppCompatActivity.java:66)
at com.zhihu.android.app.ui.activity.c.onStart(BaseActivity.java:137)
at com.zhihu.android.app.ui.activity.HostActivity.onStart(HostActivity.java:163)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1470)
at android.app.Activity.performStart(Activity.java:8154)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3805)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2345)
at com.zhihu.android.savior.ActivityThreadSavior$a.b(ActivityThreadSavior.java:113)
at com.zhihu.android.savior.ActivityThreadSavior$a.handleMessage(ActivityThreadSavior.java:93)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:344)
at android.app.ActivityThread.main(ActivityThread.java:8212)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)
Caused by: java.lang.SecurityException: Not allowed to bind to service Intent { cmp=com.zhihu.android/com.kwai.kanas.services.KanasService }
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1993)
at android.app.ContextImpl.bindService(ContextImpl.java:1905)
at android.content.ContextWrapper.bindService(ContextWrapper.java:822)
at com.kwai.kanas.Kanas.startWithConfig(Kanas.java:10)
at com.kwai.video.ksmediaplayerkit.e.a(KSMediaPlayerConfigInternal.java:67)
at com.kwai.video.ksmediaplayerkit.KSMediaPlayerConfig.init(KSMediaPlayerConfig.java:38)
at com.kwai.video.ksmediaplayerkit.KSMediaPlayerConfig.init(KSMediaPlayerConfig.java:24)
at com.zhihu.android.q.g$a.a(KsPlayerFactory.kt:40)
at com.zhihu.android.q.g.<init>(KsPlayerFactory.kt:80)
at com.zhihu.android.media.a.a(MediaPlayerManager.kt:153)
[ 2023-08-19T12:00:48.175 10681: 21963: 21963 I/LSPosed-Bridge ] at com.zhihu.android.media.a.a(MediaPlayerManager.kt:127)
at com.zhihu.android.media.a.t(MediaPlayerManager.kt:94)
at com.zhihu.android.media.a.<clinit>(MediaPlayerManager.kt:64)
... 39 more