I have an app that uses WebViews. I\'ve changed my targetAPI from 18 to 19 and I\'m currently testing on the new 4.4. For some reason I\'m getting this error: Not allo
I've found a nice workaround in this link : http://trentmilton.com/android-webview.html
A summary of the solution is something like:
WebView webView = new WebView(this); // this is the context
webView.getSettings().setDomStorageEnabled(true);
Hope that helps
HERE IS THE SOLUTION: This problem occurs when you try to load a file from library projects. If your app depends on a library where webview and html files reside, then you need include assets from that library project into main application project while compiling. For example, IntelliJ has an option to do this. In the compiler settings "Include assets from dependencies into APK", but make sure that your asset files should have different names than main application has. You don't want library project's index.html to be overridden by main app.