最近我看到了logcat中的错误"执行已停止的活动停止"但我不确定这是否会导致应用程序崩溃,但我有点紧张,有些人可能会进入生产阶段,因为我根本无法重现它。
任何人都有可能在任何可能导致此问题的情况下解决这个问题。
10-13 06:15:16.306 15134-15134/food.ready.Debug E/ActivityThread: Performing stop of activity that is already stopped: {food.ready.Debug/food.ready.app.activity.MainActivity}
java.lang.RuntimeException: Performing stop of activity that is already stopped: {food.ready.Debug/food.ready.app.activity.MainActivity}
at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:4052)
at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4140)
at android.app.ActivityThread.-wrap24(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1627)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
10-13 06:15:16.307 15134-15134/food.ready.Debug E/ActivityThread: ActivityClientRecord{paused=true, stopped=true, hideForNow=false, startsNotResumed=false, isForward=true, pendingConfigChanges=0, onlyLocalRequest=false, preserveWindow=false, Activity{resumed=false, stopped=true, finished=false, destroyed=false, startedActivity=false, temporaryPause=false, changingConfigurations=false, visibleBehind=false}}