我遇到了以下错误:
java.lang.ExceptionInInitializerError at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:340) at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:376) at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:368) at de.gambify.android.CordovaApp.onCreate(CordovaApp.java:31) at android.app.Activity.performCreate(Activity.java:6374) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2767) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2879) at android.app.ActivityThread.access$900(ActivityThread.java:182) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1475) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6141) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode at org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:233) at org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:237) at org.xwalk.core.ReflectionHelper.init(ReflectionHelper.java:132) at org.xwalk.core.ReflectionHelper.loadClass(ReflectionHelper.java:199) at org.xwalk.core.XWalkPreferences.setValue(XWalkPreferences.java:112) at org.apache.cordova.CordovaWebView.(CordovaWebView.java:897) ... 17 more Caused by: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode ... 22 more
我开始还以为这是与我建立我的应用程序只与ARM支持的事实。现在我已经将我的应用与x86以及ARM支持捆绑在一起,但仍面临着这些错误。
令我惊讶的是它说我应该使用共享模式。我目前正在使用嵌入式模式。
我看到这些问题的设备是与三星Galaxy S6和三星Galaxy S6的边缘。
我使用人行横道12.41.296.9
2015-05-20
m0c