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

后端 未结 4 3107
[愿得一人]
[愿得一人] 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:07

    I bring a stone to the building. I retrace the code for the error message. It is at line 345 in the C ++ file dalvik_system_ZygoteHooks.cc At a minimum, if (runtime_flags! = 0) then the error message will be printed. 0x8000 also corresponds to the USE_APP_IMAGE_STARTUP_CACHE flag (see line 157). The test on the USE_APP_IMAGE_STARTUP_CACHE flag is done on line 340. Normally, runtime_flags should no longer have a raised bit for USE_APP_IMAGE_STARTUP_CACHE but this does not seem to be the case since the error is printed.

    But in the end, the error does not seem to have an impact on the application.

提交回复
热议问题