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

Stack Overflow | omarec14 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    cordova Appliation has stopped unexpectedly. Please try again Android 2.3.6

    Stack Overflow | 7 months ago | omarec14
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.remal/com.remal.MainActivity}: java.lang.RuntimeException: Failed to create webview.
  2. 0

    NoSuchMethod exception while creating and formatting .doc file using Apache poi-3.8 beta hwpf

    Stack Overflow | 5 years ago | Kanon
    java.lang.NoSuchMethodError: org.apache.poi.POIDocument. : at org.apache.poi.hwpf.HWPFDocumentCore.(HWPFDocumentCore.java:145) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:218) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:186) : at com.vikas.prudent.CreateDocument.onCreate(CreateDocument.java:45) : at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) : at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) : at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) : at android.app.ActivityThread.access$2300(ActivityThread.java:125) : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) : at android.os.Handler.dispatchMessage(Handler.java:99) : at android.os.Looper.loop(Looper.java:123) : at android.app.ActivityThread.main(ActivityThread.java:4627) : at java.lang.reflect.Method.invokeNative(Native Method) : at java.lang.reflect.Method.invoke(Method.java:521) : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) :

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      android.webkit.CookieManager.setAcceptFileSchemeCookies

      at org.apache.cordova.engine.SystemCookieManager.<init>()
    2. org.apache.cordova
      SystemWebViewEngine.<init>
      1. org.apache.cordova.engine.SystemCookieManager.<init>(SystemCookieManager.java:41)
      2. org.apache.cordova.engine.SystemWebViewEngine.<init>(SystemWebViewEngine.java:85)
      3. org.apache.cordova.engine.SystemWebViewEngine.<init>(SystemWebViewEngine.java:75)
      3 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:415)
      2 frames
    4. org.apache.cordova
      CordovaActivity.loadUrl
      1. org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:80)
      2. org.apache.cordova.CordovaActivity.makeWebViewEngine(CordovaActivity.java:196)
      3. org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:192)
      4. org.apache.cordova.CordovaActivity.init(CordovaActivity.java:141)
      5. org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:214)
      5 frames
    5. com.remal
      MainActivity.onCreate
      1. com.remal.MainActivity.onCreate(MainActivity.java:32)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
      2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1586)
      3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1638)
      4. android.app.ActivityThread.access$1500(ActivityThread.java:117)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:928)
      6. android.os.Handler.dispatchMessage(Handler.java:99)
      7. android.os.Looper.loop(Looper.java:123)
      8. android.app.ActivityThread.main(ActivityThread.java:3647)
      8 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:507)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
      2 frames
    9. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame