I removed most of the code, and stayed with a very basic code:
But I get this in the logcat:
E/Web Console: Uncaught TypeError: Object [object Object] has no
Again, this same exact thing works fine in devices who are have older android os (< 4.2.1) that I have tested (the minimal version being 2.3.3).
The strange thing is that if I start a completely new project, with nothing but a single Activity which has just a WebView, with the same code, everything works fine even for 4.2.1, but when it’s part of my actual project, things break.
There’s nothing I’m doing with the webview which is not included in this code snippets I provided.
Any help will be greatly appreciated since this has been driving me crazy for the past 2 weeks or so (it’s a bug I go back to all the time, then give up, etc).
From the Android 4.2 documentation:
Its worked for me. Try out this.