(未解決)問題記錄ionic android 簽名之後安裝到手機上點擊運行出現閃退,不簽名運行正常

來源:互聯網
上載者:User

標籤:

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: main06-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 more06-21 10:12:52.723: E/AndroidRuntime(2682): Caused by: java.lang.reflect.InvocationTargetException06-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 more06-21 10:12:52.723: E/AndroidRuntime(2682): Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode06-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 more06-21 10:12:52.723: E/AndroidRuntime(2682): Caused by: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode06-21 10:12:52.723: E/AndroidRuntime(2682):     ... 29 more06-21 10:12:52.855: E/AppErrorDialog(563): Failed to get ILowStorageHandle instance06-21 10:12:55.476: E/SurfaceFlinger(129): getDefaultDisplay: id=2 is not a valid default display id

 

(未解決)問題記錄ionic android 簽名之後安裝到手機上點擊運行出現閃退,不簽名運行正常

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.