问题描述
我刚刚设置了我的第一个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
的错误,并且在 off 的情况下使用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 webview使用GSAP:尝试删除非JNI本地引用,转储线程
- https://forum .ionicframework.com/t/ionic-app-crashing-only-on-android-emulator/33375/2
- Android webview using GSAP: Attempt to remove non-JNI local reference, dumping thread
- https://forum.ionicframework.com/t/ionic-app-crashing-only-on-android-emulator/33375/2
这篇关于Android控制台显示:W/art:尝试删除非JNI本地参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!