java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.foo/com.example.foo.MainActivity}: java.lang.RuntimeException: Failed to create webview.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Hao Yunfei, 1 year ago
Unable to start activity ComponentInfo{com.example.foo/com.example.foo.MainActivity}: java.lang.RuntimeException: Failed to create webview.
via JIRA by Hao Yunfei, 1 year ago
Unable to start activity ComponentInfo{com.example.foo/com.example.foo.MainActivity}: java.lang.RuntimeException: Failed to create webview.
via Apache's JIRA Issue Tracker by Tom Nonk, 1 year ago
Unable to start activity ComponentInfo{com.tennistemple/com.tennistemple.MainActivity}: java.lang.RuntimeException: Failed to create webview.
via Stack Overflow by Jeeri
, 1 year ago
Unable to start activity ComponentInfo{com.mypackage/com.mypackage.RecordingActivity}: java.lang.RuntimeException: start failed.
via blogspot.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.mypackage/com.mypackage.RecordingActivity}: java.lang.RuntimeException: start failed.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.foo/com.example.foo.MainActivity}: java.lang.RuntimeException: Failed to create webview.
at org.xwalk.core.XWalkCoreWrapper.initEmbeddedMode(XWalkCoreWrapper.java:110)
at org.xwalk.core.XWalkPreferences.setValue(XWalkPreferences.java:105)
at org.crosswalk.engine.XWalkCordovaView.setGlobalPrefs(XWalkCordovaView.java:41)
at org.crosswalk.engine.XWalkCordovaView.(XWalkCordovaView.java:50)
at org.crosswalk.engine.XWalkWebViewEngine.(XWalkWebViewEngine.java:56)
at java.lang.reflect.Constructor.constructNative(Native Method)
at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:80)
at org.apache.cordova.CordovaActivity.makeWebViewEngine(CordovaActivity.java:191)
at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:187)
at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:135)
at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:209)
at com.example.foo.MainActivity.onCreate(MainActivity.java:32)
at android.app.Activity.performCreate(Activity.java:5104)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.