Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Won't Fix
-
5.1.1
-
None
-
None
-
Android 4.2
Cordova 5.1.1, cordova-android 4.1.0 and cordova-plugin-crosswalk-webview 1.3.0
Description
I got some Play Store crashes report. Not a lot, but a few since i upgrade to cordova 5.1.1 and cordova-android 4.1.0 using cordova-plugin-crosswalk-webview 1.3.0.
Here is the detailed report:
java.lang.RuntimeException: Unable to start activity ComponentInfo
{com.tennistemple/com.tennistemple.MainActivity}: java.lang.RuntimeException: Failed to create webview.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2306)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358)
at android.app.ActivityThread.access$600(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:5299)
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:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
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:202)
at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:198)
at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:147)
at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:220)
at com.tennistemple.MainActivity.onCreate(MainActivity.java:32)
at android.app.Activity.performCreate(Activity.java:5122)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:80)
... 19 more
Caused by: junit.framework.AssertionFailedError: Please have your activity extend XWalkActivity for shared mode
at junit.framework.Assert.fail(Assert.java:50)
at org.xwalk.core.XWalkCoreWrapper.initEmbeddedMode(XWalkCoreWrapper.java:180)
at org.xwalk.core.XWalkPreferences.setValue(XWalkPreferences.java:105)
at org.crosswalk.engine.XWalkCordovaView.setGlobalPrefs(XWalkCordovaView.java:37)
at org.crosswalk.engine.XWalkCordovaView.<init>(XWalkCordovaView.java:48)
at org.crosswalk.engine.XWalkWebViewEngine.<init>(XWalkWebViewEngine.java:56)
... 22 more
I hope that is enough to track the issue.
Thanks by advance