android - Hello World App crashing in Cordova 6.4.0 -


i new cordova , can't cordova "hello world" application display on android emulator can run same app in browser successfully. can run app in online cloud emulators.

cordova version : 6.4.0

nodejs : 4.6.1

ubuntu : 14.04 64bit

this android virtual device settings

this android virtual device settings

this stacktrace when trying run hello world app.

[ 11-08 08:45:27.115 3256: 3256 w/google-breakpad ]

### ### ### ### ### ### ### ### ### ### ###

[ 11-08 08:45:27.115 3256: 3256 w/google-breakpad ] chrome build fingerprint:

[ 11-08 08:45:27.115 3256: 3256 w/google-breakpad ] 1.0.0

[ 11-08 08:45:27.115 3256: 3256 w/google-breakpad ] 10000

[ 11-08 08:45:27.115 3256: 3256 w/google-breakpad ] 3874b69a-4a70-400e-94db-0744eafe8cbf

[ 11-08 08:45:27.115 3256: 3256 w/google-breakpad ]

### ### ### ### ### ### ### ### ### ### ###

[ 11-08 08:45:27.115 3256: 3256 f/libc ] fatal signal 6 (sigabrt), code -6 in tid 3256 (m.example.hello)

[ 11-08 08:45:27.115 1183: 1183 w/ ] debuggerd: handling request: pid=3256 uid=10060 gid=10060 tid=3256

[ 11-08 08:45:27.119 3275: 3275 f/debug ]


[ 11-08 08:45:27.119 3275: 3275 f/debug ] build fingerprint: 'android/sdk_phone_x86_64/generic_x86_64:7.0/nyc/3245079:userdebug/test-keys'

[ 11-08 08:45:27.119 3275: 3275 f/debug ] revision: '0'

[ 11-08 08:45:27.119 3275: 3275 f/debug ] abi: 'x86_64'

[ 11-08 08:45:27.119 3275: 3275 f/debug ] pid: 3256, tid: 3256, name: m.example.hello >>> com.example.hello <<<

[ 11-08 08:45:27.119 3275: 3275 f/debug ] signal 6 (sigabrt), code -6 (si_tkill), fault addr --------

[ 11-08 08:45:27.120 3275: 3275 f/debug ] abort message: '[fatal:gpu_info_collector_android.cc(193)] failed create pbuffer surface fetching driver strings. egl_success (3000) '

[ 11-08 08:45:27.120 3275: 3275 f/debug ] rax 0000000000000000 rbx 00007ffef7ff9be8 rcx ffffffffffffffff rdx 0000000000000006

[ 11-08 08:45:27.120 3275: 3275 f/debug ] rsi 0000000000000cb8 rdi 0000000000000cb8

[ 11-08 08:45:27.120 3275: 3275 f/debug ] r8 0000000000000305 r9 00007ffee3659c75 r10 0000000000000008 r11 0000000000000206

[ 11-08 08:45:27.120 3275: 3275 f/debug ] r12 0000000000000cb8 r13 0000000000000006 r14 00007ffef69eb000 r15 00007fff5da2f320

[ 11-08 08:45:27.120 3275: 3275 f/debug ] cs 0000000000000033 ss 000000000000002b

[ 11-08 08:45:27.120 3275: 3275 f/debug ] rip 00007ffef6984b27 rbp 0000000000000058 rsp 00007fff5da2ec88 eflags 0000000000000206

[ 11-08 08:45:27.120 3275: 3275 f/debug ]

backtrace:

[ 11-08 08:45:27.120 3275: 3275 f/debug ] #00 pc 000000000008db27 /system/lib64/libc.so (tgkill+7)

[ 11-08 08:45:27.120 3275: 3275 f/debug ] #01 pc 000000000008a5c1 /system/lib64/libc.so (pthread_kill+65)

[ 11-08 08:45:27.120 3275: 3275 f/debug ] #02 pc 0000000000030241 /system/lib64/libc.so (raise+17)

[ 11-08 08:45:27.120 3275: 3275 f/debug ] #03 pc 000000000002877d /system/lib64/libc.so (abort+77)

[ 11-08 08:45:27.120 3275: 3275 f/debug ] #04 pc 0000000002a93c38 /system/app/webview/webview.apk (offset 0x3c9c000)

[ 11-08 08:45:27.415 1571: 1643 i/bootreceiver ] copying /data/tombstones/tombstone_09 dropbox (system_tombstone)

[ 11-08 08:45:27.419 1183: 1183 w/ ] debuggerd: resuming target 3256

[ 11-08 08:45:27.503 1233: 1233 i/zygote ] process 3256 exited due signal (6)

[ 11-08 08:45:27.629 1571: 3280 w/activitymanager ] force finishing activity com.example.hello/.mainactivity

[ 11-08 08:45:27.631 1571: 3280 w/activitymanager ] exception thrown during pause android.os.deadobjectexception @ android.os.binderproxy.transactnative(native method) @ android.os.binderproxy.transact(binder.java:615) @ android.app.applicationthreadproxy.schedulepauseactivity(applicationthreadnative.java:784) @ com.android.server.am.activitystack.startpausinglocked(activitystack.java:1128) @ com.android.server.am.activitystack.finishactivitylocked(activitystack.java:3483) @ com.android.server.am.activitystack.finishtoprunningactivitylocked(activitystack.java:3319) @ com.android.server.am.activitystacksupervisor.finishtoprunningactivitylocked(activitystacksupervisor.java:1821) @ com.android.server.am.apperrors.handleappcrashlocked(apperrors.java:619) @ com.android.server.am.apperrors.makeappcrashinglocked(apperrors.java:481) @ com.android.server.am.apperrors.crashapplicationinner(apperrors.java:357) @ com.android.server.am.apperrors.crashapplication(apperrors.java:309) @ com.android.server.am.activitymanagerservice.handleapplicationcrashinner(activitymanagerservice.java:13226) @ com.android.server.am.nativecrashlistener$nativecrashreporter.run(nativecrashlistener.java:86)

[ 11-08 08:45:27.631 1226: 1226 e/lowmemorykiller ] error opening /proc/3256/oom_score_adj; errno=2

[ 11-08 08:45:27.751 1228: 1228 d/gralloc ] registering buffer in process created it. may cause memory ordering problems.

[ 11-08 08:45:27.751 1228: 1228 e/libegl ] called unimplemented opengl es api

[ 11-08 08:45:27.751 1228: 1228 e/surfaceflinger ] glcheckframebufferstatusoes error 1200695526

[ 11-08 08:45:27.751 1228: 1228 e/surfaceflinger ] got gl_framebuffer_complete_oes error while taking screenshot

[ 11-08 08:45:27.751 1571: 3280 w/windowmanager ] screenshot failure taking screenshot (1440x2560) layer 22015

[ 11-08 08:45:27.753 1571: 1611 w/art ] long monitor contention owner nativecrashreport (3280) @ void com.android.server.am.apperrors.crashapplicationinner(com.android.server.am.processrecord, android.app.applicationerrorreport$crashinfo)(apperrors.java:328) waiters=4 in void com.android.server.am.activitymanagerservice$appdeathrecipient.binderdied() 249ms

[ 11-08 08:45:27.753 1571: 1611 i/activitymanager ] process com.example.hello (pid 3256) has died

[ 11-08 08:45:27.755 1571: 1647 w/art ] long monitor contention owner nativecrashreport (3280) @ void com.android.server.am.apperrors.crashapplicationinner(com.android.server.am.processrecord, android.app.applicationerrorreport$crashinfo)(apperrors.java:328) waiters=6 in void com.android.server.am.activitymanagerservice$localservice.notifyapptransitionfinished() 126ms

[ 11-08 08:45:27.763 1571: 1931 w/inputmethodmanagerservice ] window focused, ignoring focus gain of: com.android.internal.view.iinputmethodclient$stub$proxy@17014ac attribute=null, token = android.os.binderproxy@52c4ec5

[ 11-08 08:45:28.075 1571: 2551 w/art ] long monitor contention owner android.display (1647) @ void com.android.server.wm.windowanimator$1.doframe(long)(windowanimator.java:138) waiters=1 in void com.android.server.wm.windowmanagerservice.finishdrawingwindow(com.android.server.wm.session, android.view.iwindow) 132ms

[ 11-08 08:45:28.205 1571: 1647 i/windowmanager ] destroying surface surface(name=starting com.example.hello) called com.android.server.wm.windowstateanimator.destroysurface:2014 com.android.server.wm.windowstateanimator.destroysurfacelocked:881 com.android.server.wm.windowstate.removelocked:1449 com.android.server.wm.windowmanagerservice.removewindowinnerlocked:2478 com.android.server.wm.appwindowtoken.destroysurfaces:365 com.android.server.wm.windowstateanimator.finishexit:565 com.android.server.wm.appwindowanimator.stepanimationlocked:427 com.android.server.wm.windowanimator.updateappwindowslocked:196

[ 11-08 08:45:30.183 1571: 1869 e/taskpersister ] file error accessing recents directory (directory doesn't exist?).

also these did not help.

cordova hello world app crashing

cordova "hello world" app won't display

i changed cpu/abi intel atom (x86_64) google apis intel atom (x86_64). did work.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -