首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用GSAP的Android webview :尝试删除非JNI本地引用,转储线程

使用GSAP的Android webview :尝试删除非JNI本地引用,转储线程
EN

Stack Overflow用户
提问于 2015-10-03 00:00:42
回答 1查看 24.2K关注 0票数 31

在使用Nexus5模拟器的Android Studio1.4中,每当ton视图中有一个使用GSAP的3D动画(x,y,rotationX,rotationY,rotationZ)时,logcat都会吐出一大堆消息:

代码语言:javascript
复制
Attempt to remove non-JNI local reference, dumping thread

这似乎不会影响我的webapp的行为,只是在生成消息时出现一点卡顿,对于需要几秒钟才能完成的动画来说,卡顿是每秒多次。

有没有关于如何停止的想法,或者这甚至是一个问题?

更新:在我的测试设备三星Galaxy S4上没有出现此错误。所以这可能只是一个模拟器的问题。

EN

回答 1

Stack Overflow用户

发布于 2017-01-29 22:46:46

我认为您使用的是没有主机GPU仿真的webview。

谷歌团队在这期杂志中说:

代码语言:javascript
复制
"You shouldn't expect that WebView will be usable without host GPU emulation any time soon.

Note also that since the emulator doesn't receive WebView updates, testing on the emulator means you are using a much older version of WebView than the vast majority of your users, and so it's already rather unrepresentative. :/"

检查问题报告:

*https://code.google.com/p/android/issues/detail?id=189040

票数 14
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32911238

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档