Log日志如下:
- ::52.495: E/Trace(): error opening trace file: No such file or directory ()
- ::52.723: E/AndroidRuntime(): FATAL EXCEPTION: main
- ::52.723: E/AndroidRuntime(): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ionicframework.myapp1274288/com.ionicframework.myapp1274288.MainActivity}: java.lang.RuntimeException: Failed to create webview.
- ::52.723: E/AndroidRuntime(): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:)
- ::52.723: E/AndroidRuntime(): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:)
- ::52.723: E/AndroidRuntime(): at android.app.ActivityThread.access$(ActivityThread.java:)
- ::52.723: E/AndroidRuntime(): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:)
- ::52.723: E/AndroidRuntime(): at android.os.Handler.dispatchMessage(Handler.java:)
- ::52.723: E/AndroidRuntime(): at android.os.Looper.loop(Looper.java:)
- ::52.723: E/AndroidRuntime(): at android.app.ActivityThread.main(ActivityThread.java:)
- ::52.723: E/AndroidRuntime(): at java.lang.reflect.Method.invokeNative(Native Method)
- ::52.723: E/AndroidRuntime(): at java.lang.reflect.Method.invoke(Method.java:)
- ::52.723: E/AndroidRuntime(): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:)
- ::52.723: E/AndroidRuntime(): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:)
- ::52.723: E/AndroidRuntime(): at dalvik.system.NativeStart.main(Native Method)
- ::52.723: E/AndroidRuntime(): Caused by: java.lang.RuntimeException: Failed to create webview.
- ::52.723: E/AndroidRuntime(): at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:)
- ::52.723: E/AndroidRuntime(): at org.apache.cordova.CordovaActivity.makeWebViewEngine(CordovaActivity.java:)
- ::52.723: E/AndroidRuntime(): at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:)
- ::52.723: E/AndroidRuntime(): at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:)
- ::52.723: E/AndroidRuntime(): at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:)
- ::52.723: E/AndroidRuntime(): at com.ionicframework.myapp1274288.MainActivity.onCreate(MainActivity.java:)
- ::52.723: E/AndroidRuntime(): at android.app.Activity.performCreate(Activity.java:)
- ::52.723: E/AndroidRuntime(): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:)
- ::52.723: E/AndroidRuntime(): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:)
- ::52.723: E/AndroidRuntime(): ... more
- ::52.723: E/AndroidRuntime(): Caused by: java.lang.reflect.InvocationTargetException
- ::52.723: E/AndroidRuntime(): at java.lang.reflect.Constructor.constructNative(Native Method)
- ::52.723: E/AndroidRuntime(): at java.lang.reflect.Constructor.newInstance(Constructor.java:)
- ::52.723: E/AndroidRuntime(): at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:)
- ::52.723: E/AndroidRuntime(): ... more
- ::52.723: E/AndroidRuntime(): Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode
- ::52.723: E/AndroidRuntime(): at org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:)
- ::52.723: E/AndroidRuntime(): at org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:)
- ::52.723: E/AndroidRuntime(): at org.xwalk.core.ReflectionHelper.init(ReflectionHelper.java:)
- ::52.723: E/AndroidRuntime(): at org.xwalk.core.ReflectionHelper.loadClass(ReflectionHelper.java:)
- ::52.723: E/AndroidRuntime(): at org.xwalk.core.XWalkPreferences.setValue(XWalkPreferences.java:)
- ::52.723: E/AndroidRuntime(): at org.crosswalk.engine.XWalkCordovaView.setGlobalPrefs(XWalkCordovaView.java:)
- ::52.723: E/AndroidRuntime(): at org.crosswalk.engine.XWalkCordovaView.<init>(XWalkCordovaView.java:)
- ::52.723: E/AndroidRuntime(): at org.crosswalk.engine.XWalkWebViewEngine.<init>(XWalkWebViewEngine.java:)
- ::52.723: E/AndroidRuntime(): ... more
- ::52.723: E/AndroidRuntime(): Caused by: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode
- ::52.723: E/AndroidRuntime(): ... more
- ::52.855: E/AppErrorDialog(): Failed to get ILowStorageHandle instance
- ::55.476: E/SurfaceFlinger(): getDefaultDisplay: id= is not a valid default display id