频道栏目
IT货架 > > 正文
(未解决)问题记录ionic android 签名之后安装到手机上点击运行出现闪退,不签名运行正常
网友分享于:Jan 1, 1970 8:00:00 AM    来源: IT货架   

标签:

Log日志如下:

06-21 10:12:52.495: E/Trace(2682): error opening trace file: No such file or directory (2)
06-21 10:12:52.723: E/AndroidRuntime(2682): FATAL EXCEPTION: main
06-21 10:12:52.723: E/AndroidRuntime(2682): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ionicframework.myapp1274288/com.ionicframework.myapp1274288.MainActivity}: java.lang.RuntimeException: Failed to create webview. 
06-21 10:12:52.723: E/AndroidRuntime(2682):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2351)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at android.app.ActivityThread.access$600(ActivityThread.java:165)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at android.os.Handler.dispatchMessage(Handler.java:107)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at android.os.Looper.loop(Looper.java:194)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at android.app.ActivityThread.main(ActivityThread.java:5407)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at java.lang.reflect.Method.invokeNative(Native Method)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at java.lang.reflect.Method.invoke(Method.java:525)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:838)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at dalvik.system.NativeStart.main(Native Method)
06-21 10:12:52.723: E/AndroidRuntime(2682): Caused by: java.lang.RuntimeException: Failed to create webview. 
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:83)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.apache.cordova.CordovaActivity.makeWebViewEngine(CordovaActivity.java:192)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:188)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:136)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:210)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at com.ionicframework.myapp1274288.MainActivity.onCreate(MainActivity.java:32)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at android.app.Activity.performCreate(Activity.java:5150)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1150)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2315)
06-21 10:12:52.723: E/AndroidRuntime(2682):     ... 11 more
06-21 10:12:52.723: E/AndroidRuntime(2682): Caused by: java.lang.reflect.InvocationTargetException
06-21 10:12:52.723: E/AndroidRuntime(2682):     at java.lang.reflect.Constructor.constructNative(Native Method)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:81)
06-21 10:12:52.723: E/AndroidRuntime(2682):     ... 19 more
06-21 10:12:52.723: E/AndroidRuntime(2682): Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:233)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:237)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.xwalk.core.ReflectionHelper.init(ReflectionHelper.java:132)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.xwalk.core.ReflectionHelper.loadClass(ReflectionHelper.java:199)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.xwalk.core.XWalkPreferences.setValue(XWalkPreferences.java:112)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.crosswalk.engine.XWalkCordovaView.setGlobalPrefs(XWalkCordovaView.java:43)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.crosswalk.engine.XWalkCordovaView.<init>(XWalkCordovaView.java:50)
06-21 10:12:52.723: E/AndroidRuntime(2682):     at org.crosswalk.engine.XWalkWebViewEngine.<init>(XWalkWebViewEngine.java:56)
06-21 10:12:52.723: E/AndroidRuntime(2682):     ... 22 more
06-21 10:12:52.723: E/AndroidRuntime(2682): Caused by: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode
06-21 10:12:52.723: E/AndroidRuntime(2682):     ... 29 more
06-21 10:12:52.855: E/AppErrorDialog(563): Failed to get ILowStorageHandle instance
06-21 10:12:55.476: E/SurfaceFlinger(129): getDefaultDisplay: id=2 is not a valid default display id

 

(未解决)问题记录ionic android 签名之后安装到手机上点击运行出现闪退,不签名运行正常

标签:

相关板块推荐 iPhone WindowsPhone

广告服务联系QQ:1134687142 | 网站地图

版权所有: IT货架- 内容来自互联网,仅供用于技术学习,请遵循相关法律法规. 京ICP备11030978号-1