java.lang.ClassCastException: org.crosswalk.engine.XWalkCordovaView cannot be cast to org.apache.cordova.engine.SystemWebView

Stack Overflow | Symeon Mattes | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Ignoring invalid SSL certificates on Cordova for Android

    Stack Overflow | 6 months ago | Symeon Mattes
    java.lang.ClassCastException: org.crosswalk.engine.XWalkCordovaView cannot be cast to org.apache.cordova.engine.SystemWebView

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.crosswalk.engine.XWalkCordovaView cannot be cast to org.apache.cordova.engine.SystemWebView

      at myProject.InitApp.onCreate()
    2. myProject
      InitApp.onCreate
      1. myProject.InitApp.onCreate(initApp.java:182)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6289)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2655)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2767)
      5. android.app.ActivityThread.access$900(ActivityThread.java:177)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1449)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:145)
      9. android.app.ActivityThread.main(ActivityThread.java:5951)
      9 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
      2 frames