java.lang.RuntimeException

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

Solutions on the web43622

  • Unable to start activity ComponentInfo{com.remal/com.remal.MainActivity}: java.lang.RuntimeException: Failed to create webview.
  • Unable to start activity ComponentInfo{com.veureka.beopledev/com.veureka.beopledev.MainActivity}: java.lang.RuntimeException: Failed to create webview.
  • via JIRA by Hao Yunfei, 9 months ago
    Unable to start activity ComponentInfo{com.example.foo/com.example.foo.MainActivity}: java.lang.RuntimeException: Failed to create webview.
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.remal/com.remal.MainActivity}: java.lang.RuntimeException: Failed to create webview. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1622) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1638) at android.app.ActivityThread.access$1500(ActivityThread.java:117) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3647) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.RuntimeException: Failed to create webview. at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:82) at org.apache.cordova.CordovaActivity.makeWebViewEngine(CordovaActivity.java:196) at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:192) at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:141) at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:214) at com.remal.MainActivity.onCreate(MainActivity.java:32) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1586) ... 11 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:415) at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:80) ... 18 more Caused by: java.lang.NoSuchMethodError: android.webkit.CookieManager.setAcceptFileSchemeCookies at org.apache.cordova.engine.SystemCookieManager.<init>(SystemCookieManager.java:41) at org.apache.cordova.engine.SystemWebViewEngine.<init>(SystemWebViewEngine.java:85) at org.apache.cordova.engine.SystemWebViewEngine.<init>(SystemWebViewEngine.java:75) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    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.