cordova - My Ionic application crashes on start on an android emulator -
i'm trying emulate ionic app on android emulator. here's did:
1) built app ionic build android
2) ran on emulator ionic emulate android
, installing apk through adb install
my app shows on emulator, when launch it, crashes on start error message says "unfortunately, xxxx has stopped working."
i ran adb logcat
. following result:
--------- beginning of crash 07-15 17:58:22.650 2145 2214 f libc : fatal signal 6 (sigabrt), code -6 in tid 2214 (gputhread) 07-15 17:58:22.765 950 950 selinux : selinux: loaded file_contexts contexts /file_contexts. 07-15 17:58:22.765 950 950 f debug : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 07-15 17:58:22.765 950 950 f debug : build fingerprint: 'android/sdk_phone_x86/generic_x86:6.0/master/2780065:userdebug/test-keys' 07-15 17:58:22.765 950 950 f debug : revision: '0' 07-15 17:58:22.765 950 950 f debug : abi: 'x86' 07-15 17:58:22.765 950 950 f debug : pid: 2145, tid: 2214, name: gputhread >>> com.ionicframework.kayo561504 <<< 07-15 17:58:22.765 950 950 f debug : signal 6 (sigabrt), code -6 (si_tkill), fault addr -------- 07-15 17:58:22.769 950 950 f debug : abort message: '[fatal:gl_surface_android.cc(58)] check failed: kglimplementationnone != getglimplementation() (0 vs. 0) 07-15 17:58:22.769 950 950 f debug : ' 07-15 17:58:22.769 950 950 f debug : eax 00000000 ebx 00000861 ecx 000008a6 edx 00000006 07-15 17:58:22.769 950 950 f debug : esi a18bf980 edi 00000000 07-15 17:58:22.769 950 950 f debug : xcs 00000073 xds 0000007b xes 0000007b xfs 000000b7 xss 0000007b 07-15 17:58:22.769 950 950 f debug : eip b732d596 ebp 000008a6 esp a18bec40 flags 00200202 07-15 17:58:22.770 1924 2107 globaldismissmanager: no sender configured 07-15 17:58:22.770 1924 2107 d alertservice: beginning updatealertnotification 07-15 17:58:22.778 1924 2107 d alertservice: no fired or scheduled alerts 07-15 17:58:22.786 1924 2107 d alertservice: scheduling next alarm alarmscheduler. seventreminderreceived: null 07-15 17:58:22.790 1924 2107 d alarmscheduler: no events found starting within 1 week. 07-15 17:58:22.795 950 950 f debug : 07-15 17:58:22.795 950 950 f debug : backtrace: 07-15 17:58:22.795 950 950 f debug : #00 pc 00084596 /system/lib/libc.so (tgkill+22) 07-15 17:58:22.795 950 950 f debug : #01 pc 000815e8 /system/lib/libc.so (pthread_kill+70) 07-15 17:58:22.795 950 950 f debug : #02 pc 00027205 /system/lib/libc.so (raise+36) 07-15 17:58:22.795 950 950 f debug : #03 pc 000209e4 /system/lib/libc.so (abort+80) 07-15 17:58:22.795 950 950 f debug : #04 pc 0037328a /system/app/webview/webview.apk (offset 0x7ea000) 07-15 17:58:22.795 950 950 f debug : #05 pc 000009a3 /data/misc/shared_relro/libwebviewchromium32.relro 07-15 17:58:22.903 1286 2223 w activitymanager: force finishing activity com.ionicframework.kayo561504/.mainactivity 07-15 17:58:22.905 942 1011 d permissioncache: checking android.permission.read_frame_buffer uid=1000 => granted (82 us) 07-15 17:58:22.906 942 942 d gralloc : registering buffer in process created it. may cause memory ordering problems. 07-15 17:58:22.906 942 942 e libegl : called unimplemented opengl es api 07-15 17:58:22.906 942 942 e surfaceflinger: glcheckframebufferstatusoes error 941833840 07-15 17:58:22.906 942 942 e surfaceflinger: got gl_framebuffer_complete_oes error while taking screenshot 07-15 17:58:22.911 950 950 f debug : 07-15 17:58:22.911 950 950 f debug : tombstone written to: /data/tombstones/tombstone_03 07-15 17:58:22.911 950 950 e debug : write failed: broken pipe 07-15 17:58:22.913 1286 1322 w inputdispatcher: channel 'cb1d010 com.ionicframework.kayo561504/com.ionicframework.kayo561504.mainactivity (server)' ~ consumer closed input channel or error occurred. events=0x9 07-15 17:58:22.913 1286 1322 e inputdispatcher: channel 'cb1d010 com.ionicframework.kayo561504/com.ionicframework.kayo561504.mainactivity (server)' ~ channel unrecoverably broken , disposed! 07-15 17:58:22.915 1286 1303 bootreceiver: copying /data/tombstones/tombstone_03 dropbox (system_tombstone) 07-15 17:58:22.922 1286 1734 windowstate: win death: window{cb1d010 u0 com.ionicframework.kayo561504/com.ionicframework.kayo561504.mainactivity} 07-15 17:58:22.923 1286 1734 w inputdispatcher: attempted unregister unregistered input channel 'cb1d010 com.ionicframework.kayo561504/com.ionicframework.kayo561504.mainactivity (server)' 07-15 17:58:22.930 1286 2223 w activitymanager: exception thrown during pause 07-15 17:58:22.930 1286 2223 w activitymanager: android.os.deadobjectexception 07-15 17:58:22.930 1286 2223 w activitymanager: @ android.os.binderproxy.transactnative(native method) 07-15 17:58:22.930 1286 2223 w activitymanager: @ android.os.binderproxy.transact(binder.java:503) 07-15 17:58:22.930 1286 2223 w activitymanager: @ android.app.applicationthreadproxy.schedulepauseactivity(applicationthreadnative.java:727) 07-15 17:58:22.930 1286 2223 w activitymanager: @ com.android.server.am.activitystack.startpausinglocked(activitystack.java:867) 07-15 17:58:22.930 1286 2223 w activitymanager: @ com.android.server.am.activitystack.finishactivitylocked(activitystack.java:2907) 07-15 17:58:22.930 1286 2223 w activitymanager: @ com.android.server.am.activitystack.finishtoprunningactivitylocked(activitystack.java:2763) 07-15 17:58:22.930 1286 2223 w activitymanager: @ com.android.server.am.activitystacksupervisor.finishtoprunningactivitylocked(activitystacksupervisor.java:2755) 07-15 17:58:22.930 1286 2223 w activitymanager: @ com.android.server.am.activitymanagerservice.handleappcrashlocked(activitymanagerservice.java:11971) 07-15 17:58:22.930 1286 2223 w activitymanager: @ com.android.server.am.activitymanagerservice.makeappcrashinglocked(activitymanagerservice.java:11867) 07-15 17:58:22.930 1286 2223 w activitymanager: @ com.android.server.am.activitymanagerservice.crashapplication(activitymanagerservice.java:12556) 07-15 17:58:22.930 1286 2223 w activitymanager: @ com.android.server.am.activitymanagerservice.handleapplicationcrashinner(activitymanagerservice.java:12063) 07-15 17:58:22.930 1286 2223 w activitymanager: @ com.android.server.am.nativecrashlistener$nativecrashreporter.run(nativecrashlistener.java:86) 07-15 17:58:22.935 1286 1298 activitymanager: process com.ionicframework.kayo561504 (pid 2145) has died 07-15 17:58:22.936 956 956 zygote : process 2145 exited due signal (6) 07-15 17:58:23.506 1286 1305 w windowanimator: failed dispatch window animation state change. 07-15 17:58:23.506 1286 1305 w windowanimator: android.os.deadobjectexception 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.os.binderproxy.transactnative(native method) 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.os.binderproxy.transact(binder.java:503) 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.view.iwindow$stub$proxy.onanimationstopped(iwindow.java:534) 07-15 17:58:23.506 1286 1305 w windowanimator: @ com.android.server.wm.windowanimator.updatewindowslocked(windowanimator.java:286) 07-15 17:58:23.506 1286 1305 w windowanimator: @ com.android.server.wm.windowanimator.animatelocked(windowanimator.java:678) 07-15 17:58:23.506 1286 1305 w windowanimator: @ com.android.server.wm.windowanimator.-wrap0(windowanimator.java) 07-15 17:58:23.506 1286 1305 w windowanimator: @ com.android.server.wm.windowanimator$1.doframe(windowanimator.java:123) 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.view.choreographer$callbackrecord.run(choreographer.java:856) 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.view.choreographer.docallbacks(choreographer.java:670) 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.view.choreographer.doframe(choreographer.java:603) 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.view.choreographer$framedisplayeventreceiver.run(choreographer.java:844) 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.os.handler.handlecallback(handler.java:739) 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.os.handler.dispatchmessage(handler.java:95) 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.os.looper.loop(looper.java:148) 07-15 17:58:23.506 1286 1305 w windowanimator: @ android.os.handlerthread.run(handlerthread.java:61) 07-15 17:58:23.506 1286 1305 w windowanimator: @ com.android.server.servicethread.run(servicethread.java:46) 07-15 17:58:31.035 1286 1300 activitymanager: waited long enough for: servicerecord{dcf6f u0 com.android.calendar/.alerts.initalarmsservice} 07-15 17:58:46.065 1924 2022 d initalarmsservice: clearing , rescheduling alarms. 07-15 17:59:13.229 1286 1395 mediafocuscontrol: audiofocus abandonaudiofocus() android.media.audiomanager@e9d200acom.android.music.mediaplaybackservice$3@a65e07b 07-15 18:00:57.754 1286 1305 w appops : finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0 07-15 18:00:57.756 1286 1298 w inputmethodmanagerservice: got remoteexception sending setactive(false) notification pid 2145 uid 10054 07-15 18:00:57.758 1531 1531 choreographer: skipped 73 frames! application may doing work on main thread. 07-15 18:02:26.823 959 959 perfprofd: profile collection skipped (running in emulator)
thanks in advance!
Comments
Post a Comment