Monday, August 1, 2016

Binary XML file line #11: Error inflating class android.webkit.WebView

If your Android app is crashing with an Exception like this:

Binary XML file line #11: Error inflating class android.webkit.WebView


Then you probably need just to install WebView system component (you can find it on Google Play, and it should be already packed with every device) on that errorneus device.

The same fix applies to this problem:

AndroidRuntimeException: android.util.android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview (which is the root cause of Inflating Error Exception here).

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...