“Unknown bits set in runtime_flags: 0x8000” warning in Logcat on Android Q emulator

后端 未结 4 3106
[愿得一人]
[愿得一人] 2020-12-13 12:44

I\'m getting this warning as the first line from my app in logcat, and I have no idea what it refers to and how I should go about fixing it. Google doesn\'t offer much info

4条回答
  •  臣服心动
    2020-12-13 13:11

    In my case at least happens because The fragment tried to update the view (or something like this) when a different activity was already running so just

    @Override
    public void onStop() {
        super.onStop();
        getActivity().finish();
    }
    

    inside the fragment solved this error

提交回复
热议问题