Android webview using GSAP: Attempt to remove non-JNI local reference, dumping thread

24,402

I think you are using a webview without a host GPU emulation.

Google team says in the issue:

"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. :/"

Check the issue report:

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

Share:
24,402
Mark
Author by

Mark

I am a Full Stack Software Engineer, and I have been designing and writing software for over 10 years. I specialize in web applications using PHP, MySQL, HTML, Javascript, CSS on a LAMP stack, and have built a wide variety of applications: digital music instruments and effects, medical research software, medical record systems, booking systems, custom automated business solutions, eCommerce, websites, cryptocurrency analyzer, visual art. I utilize Wordpress as a content management system and love to setup and launch web applications on DigitalOcean's Droplets. I received a Bachelor of Science in Electrical Engineering with a minor in Computer Engineering from the University of Miami, Florida 2010.

Updated on March 31, 2020

Comments

  • Mark
    Mark about 4 years

    In Android Studio 1.4 using the Nexus5 emulator, every time there is a 3D animation (x, y, rotationX, rotationY, rotationZ) using GSAP in the webview, the logcat spits out a ton of this message:

    Attempt to remove non-JNI local reference, dumping thread
    

    This doesn't appear to affect my webapp's behavior other than a bit of stuttering when the message is produced, which is multiple times a second for animations that take a few seconds to complete.

    Any ideas on how to stop, or is this even a problem?

    UPDATE: The error does not occur on my test device, Samsung Galaxy S4. So it is likely only an emulator problem.