在使用Nexus5模拟器的Android Studio1.4中,每当ton视图中有一个使用GSAP的3D动画(x,y,rotationX,rotationY,rotationZ)时,logcat都会吐出一大堆消息:
Attempt to remove non-JNI local reference, dumping thread这似乎不会影响我的webapp的行为,只是在生成消息时出现一点卡顿,对于需要几秒钟才能完成的动画来说,卡顿是每秒多次。
有没有关于如何停止的想法,或者这甚至是一个问题?
更新:在我的测试设备三星Galaxy S4上没有出现此错误。所以这可能只是一个模拟器的问题。
发布于 2017-01-29 22:46:46
我认为您使用的是没有主机GPU仿真的webview。
谷歌团队在这期杂志中说:
"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://stackoverflow.com/questions/32911238
复制相似问题