“在runtime_flags中设置的未知位:0x8000"; Android Q模拟器上的Logcat中出现警告 [英] "Unknown bits set in runtime_flags: 0x8000" warning in Logcat on Android Q emulator

查看:5431
本文介绍了“在runtime_flags中设置的未知位:0x8000"; Android Q模拟器上的Logcat中出现警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在logcat的应用程序的第一行收到此警告,我不知道它指的是什么以及应该如何解决. Google对此没有提供太多信息(实际上根本没有提供).请指教.这可能是什么样的标志?有没有一种方法可以找出指定位可能引用的内容(或者也许已经在较旧的Android版本上引用但在Android 10中已变为无效)? Android 9或更早版本的日志中没有这样的行.

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 on this (in fact, none at all). Please advise. What kind of flags might this be about? Is there a way to find out what the specified bit might refer to (or, perhaps, has been referring to on older Android versions but has become invalid in Android 10)? There is no such line in the log on Android 9 or earlier versions.

推荐答案

我把一块石头带到了建筑物上.我回溯错误消息的代码.它位于C ++文件 dalvik_system_ZygoteHooks的第345行. cc 至少,如果(runtime_flags!= 0),则将显示错误消息. 0x8000还对应于USE_APP_IMAGE_STARTUP_CACHE标志(请参见第157行).对USE_APP_IMAGE_STARTUP_CACHE标志的测试在第340行完成.通常,对于USE_APP_IMAGE_STARTUP_CACHE,runtime_flags不应再具有升高的位,但是由于打印了错误,因此似乎不是这种情况.

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.

这篇关于“在runtime_flags中设置的未知位:0x8000"; Android Q模拟器上的Logcat中出现警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆