Android 控制台显示:W/art: Attempt to remove non-JNI local reference [英] Android console displays: W/art: Attempt to remove non-JNI local reference

查看:17
本文介绍了Android 控制台显示:W/art: Attempt to remove non-JNI local reference的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚设置了我的第一个 Cordova 项目并安装了 OneSignal 推送通知.这一切都按我的预期工作,但是 Android 开发人员工具在控制台中显示了这一点:

I've just setup my first Cordova project and installed OneSignal push notifications. This is all working as I expect, however the Android Developer Tools are showing this in the console:

W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
I/art: WaitForGcToComplete blocked for 6.202ms for cause Background
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread
W/art: Attempt to remove non-JNI local reference, dumping thread

应用程序运行时不断输出此消息.

This message is constantly output while the app is running.

这是什么意思,我该如何解决存在的任何问题?

What does it mean and how can I resolve whatever issue there is?

推荐答案

条目与 OneSignal 无关.从以下线程来看,这看起来是 WebView 的一个错误,并且在使用 host GPU 关闭 的情况下更常发生在枚举器上.请参阅以下与此相关的主题.

The entries are not related to OneSignal. From the following threads this looks to be a bug with the WebView and can happen more often on enumerators while using host GPU is off. See the below threads referring to this.

这篇关于Android 控制台显示:W/art: Attempt to remove non-JNI local reference的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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