Android 4.4.2 - java.lang.RuntimeException: Performing stop of activity that is not resumed

后端 未结 4 1211
梦如初夏
梦如初夏 2020-12-02 10:00

I\'m getting this exception on a 4.4.2 device. Not reproducible on Android 4.3 device or lower.

Setup is I have a home activity (subclass of support ActionBarA

4条回答
  •  天涯浪人
    2020-12-02 10:42

    I was getting this exception even when using onResume(), so I ended up overriding onPostResume() and starting activity from there, and the exception is gone. Not sure if this is an ideal solution, but still...

提交回复
热议问题