I tried updating to the latest version of Cocos2d-x (x11) and now my Android project immediately crashes after the System.loadLibrary(“game”); call. The iOS version works fine. Here is the LogCat output.
Ideas?
02-05 13:37:19.386: D/dalvikvm(355): GC_EXPLICIT freed 858 objects / 58256 bytes in 152ms
02-05 13:37:23.286: D/dalvikvm(414): Trying to load lib /data/data/net.lp.bfo/lib/libcocos2d.so 0x44f3f288
02-05 13:37:23.346: D/dalvikvm(414): Added shared lib /data/data/net.lp.bfo/lib/libcocos2d.so 0x44f3f288
02-05 13:37:23.406: D/dalvikvm(414): Trying to load lib /data/data/net.lp.bfo/lib/libcocosdenshion.so 0x44f3f288
02-05 13:37:23.406: D/dalvikvm(414): Added shared lib /data/data/net.lp.bfo/lib/libcocosdenshion.so 0x44f3f288
02-05 13:37:23.456: D/dalvikvm(414): Trying to load lib /data/data/net.lp.bfo/lib/libgame.so 0x44f3f288
02-05 13:37:23.476: D/dalvikvm(414): Added shared lib /data/data/net.lp.bfo/lib/libgame.so 0x44f3f288
02-05 13:37:23.476: D/dalvikvm(414): No JNI_OnLoad found in /data/data/net.lp.bfo/lib/libgame.so 0x44f3f288, skipping init
02-05 13:37:23.526: D/qemud(37): fdhandler_accept_event: accepting on fd 10
02-05 13:37:23.526: D/qemud(37): created client 0x17fe8 listening on fd 15
02-05 13:37:23.526: D/qemud(37): client_fd_receive: attempting registration for service 'sensors'
02-05 13:37:23.526: D/qemud(37): client_fd_receive: -> received channel id 15
02-05 13:37:23.600: D/qemud(37): client_registration: registration succeeded for client 15
02-05 13:37:23.676: D/qemud(37): fdhandler_event: disconnect on fd 15
02-05 13:37:23.686: D/qemud(37): fdhandler_accept_event: accepting on fd 10
02-05 13:37:23.686: D/qemud(37): created client 0x17fe8 listening on fd 15
02-05 13:37:23.686: D/qemud(37): client_fd_receive: attempting registration for service 'sensors'
02-05 13:37:23.686: D/qemud(37): client_fd_receive: -> received channel id 16
02-05 13:37:23.762: D/qemud(37): client_registration: registration succeeded for client 16
02-05 13:37:23.836: D/qemud(37): fdhandler_event: disconnect on fd 15
02-05 13:37:23.836: D/qemud(37): fdhandler_accept_event: accepting on fd 10
02-05 13:37:23.836: D/qemud(37): created client 0x17fe8 listening on fd 15
02-05 13:37:23.836: D/qemud(37): client_fd_receive: attempting registration for service 'sensors'
02-05 13:37:23.836: D/qemud(37): client_fd_receive: -> received channel id 17
02-05 13:37:23.912: D/qemud(37): client_registration: registration succeeded for client 17
02-05 13:37:23.986: D/qemud(37): fdhandler_event: disconnect on fd 15
02-05 13:37:23.986: D/qemud(37): fdhandler_accept_event: accepting on fd 10
02-05 13:37:23.986: D/qemud(37): created client 0x17fe8 listening on fd 15
02-05 13:37:23.986: D/qemud(37): client_fd_receive: attempting registration for service 'sensors'
02-05 13:37:23.986: D/qemud(37): client_fd_receive: -> received channel id 18
02-05 13:37:23.996: D/qemud(37): client_registration: registration succeeded for client 18
02-05 13:37:24.070: D/qemud(37): fdhandler_event: disconnect on fd 15
02-05 13:37:24.136: W/apk path(414): /data/app/net.lp.bfo-2.apk
02-05 13:37:24.886: D/libEGL(414): egl.cfg not found, using default config
02-05 13:37:24.886: D/libEGL(414): loaded /system/lib/egl/libGLES_android.so
02-05 13:37:25.036: D/dalvikvm(414): GC_EXTERNAL_ALLOC freed 1009 objects / 70720 bytes in 72ms
02-05 13:37:25.236: D/dalvikvm(192): GC_EXPLICIT freed 1066 objects / 55480 bytes in 979ms
02-05 13:37:25.236: W/IInputConnectionWrapper(192): showStatusIcon on inactive InputConnection
02-05 13:37:25.377: I/DEBUG(30): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-05 13:37:25.377: I/DEBUG(30): Build fingerprint: 'generic/google_sdk/generic/:2.2/FRF91/43546:eng/test-keys'
02-05 13:37:25.377: I/DEBUG(30): pid: 414, tid: 422 >>> net.lp.bfo <<<
02-05 13:37:25.386: I/DEBUG(30): signal 11 (SIGSEGV), fault addr 00000096
02-05 13:37:25.386: I/DEBUG(30): r0 000bed08 r1 00000001 r2 46e9ece0 r3 00000096
02-05 13:37:25.386: I/DEBUG(30): r4 80bc9898 r5 80b04f51 r6 0013aff0 r7 43c80000
02-05 13:37:25.386: I/DEBUG(30): r8 46e9ece0 r9 4185af3c 10 00231e10 fp 4185af3c
02-05 13:37:25.386: I/DEBUG(30): ip 80bc9ab4 sp 46e9ebb0 lr 80b2bac7 pc 80ae4628 cpsr 00000030
02-05 13:37:25.576: I/DEBUG(30): #00 pc 000e4628 /data/data/net.lp.bfo/lib/libcocos2d.so
02-05 13:37:25.576: I/DEBUG(30): #01 pc 0001226e /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.576: I/DEBUG(30): #02 pc 00012086 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.576: I/DEBUG(30): #03 pc 000120d8 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.586: I/DEBUG(30): #04 pc 0000de66 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.586: I/DEBUG(30): #05 pc 000fef08 /data/data/net.lp.bfo/lib/libcocos2d.so
02-05 13:37:25.595: I/DEBUG(30): #06 pc 0000dc58 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.595: I/DEBUG(30): #07 pc 00013974 /system/lib/libdvm.so
02-05 13:37:25.595: I/DEBUG(30): #08 pc 0003ddb4 /system/lib/libdvm.so
02-05 13:37:25.595: I/DEBUG(30): #09 pc 00037186 /system/lib/libdvm.so
02-05 13:37:25.607: I/DEBUG(30): #10 pc 000432ec /system/lib/libdvm.so
02-05 13:37:25.607: I/DEBUG(30): #11 pc 00024dcc /system/lib/libdvm.so
02-05 13:37:25.607: I/DEBUG(30): #12 pc 0001d7cc /system/lib/libdvm.so
02-05 13:37:25.616: I/DEBUG(30): #13 pc 00053eec /system/lib/libdvm.so
02-05 13:37:25.616: I/DEBUG(30): #14 pc 00054102 /system/lib/libdvm.so
02-05 13:37:25.616: I/DEBUG(30): #15 pc 0004825a /system/lib/libdvm.so
02-05 13:37:25.616: I/DEBUG(30): #16 pc 0001103c /system/lib/libc.so
02-05 13:37:25.626: I/DEBUG(30): #17 pc 00010b20 /system/lib/libc.so
02-05 13:37:25.626: I/DEBUG(30): code around pc:
02-05 13:37:25.626: I/DEBUG(30): 80ae4608 1c1158a2 58a24a79 23041c18 fab0f047
02-05 13:37:25.626: I/DEBUG(30): 80ae4618 93091c03 2b009b09 9b09d020 3384681b
02-05 13:37:25.626: I/DEBUG(30): 80ae4628 9a09681b 47981c10 681d1c03 681b9b09
02-05 13:37:25.626: I/DEBUG(30): 80ae4638 681b3330 1c109a09 1c034798 1c191c28
02-05 13:37:25.626: I/DEBUG(30): 80ae4648 ece4f049 1c181c03 f0499900 1c03ebbe
02-05 13:37:25.626: I/DEBUG(30): code around lr:
02-05 13:37:25.626: I/DEBUG(30): 80b2baa4 b4f04644 1c07b083 46931c0e 1c30469a
02-05 13:37:25.626: I/DEBUG(30): 80b2bab4 f0004651 2800f975 6833d150 689b1c30
02-05 13:37:25.626: I/DEBUG(30): 80b2bac4 28014798 2802d045 2800d016 2700d108
02-05 13:37:25.626: I/DEBUG(30): 80b2bad4 1c38b003 4690bc3c 46a24699 bdf046ab
02-05 13:37:25.626: I/DEBUG(30): 80b2bae4 48224a21 447a4b22 32744478 21ad447b
02-05 13:37:25.637: I/DEBUG(30): stack:
02-05 13:37:25.637: I/DEBUG(30): 46e9eb70 0025bfd8 [heap]
02-05 13:37:25.637: I/DEBUG(30): 46e9eb74 80ac8ce7 /data/data/net.lp.bfo/lib/libcocos2d.so
02-05 13:37:25.637: I/DEBUG(30): 46e9eb78 80ac51e1 /data/data/net.lp.bfo/lib/libcocos2d.so
02-05 13:37:25.637: I/DEBUG(30): 46e9eb7c 80ae3f13 /data/data/net.lp.bfo/lib/libcocos2d.so
02-05 13:37:25.637: I/DEBUG(30): 46e9eb80 46e9eb98
02-05 13:37:25.637: I/DEBUG(30): 46e9eb84 00232980 [heap]
02-05 13:37:25.646: I/DEBUG(30): 46e9eb88 000bed00 [heap]
02-05 13:37:25.646: I/DEBUG(30): 46e9eb8c 46e9ece0
02-05 13:37:25.646: I/DEBUG(30): 46e9eb90 4185af3c
02-05 13:37:25.646: I/DEBUG(30): 46e9eb94 00231e10 [heap]
02-05 13:37:25.646: I/DEBUG(30): 46e9eb98 4185af3c
02-05 13:37:25.646: I/DEBUG(30): 46e9eb9c 80bc9898 /data/data/net.lp.bfo/lib/libcocos2d.so
02-05 13:37:25.646: I/DEBUG(30): 46e9eba0 80b04f51 /data/data/net.lp.bfo/lib/libcocos2d.so
02-05 13:37:25.646: I/DEBUG(30): 46e9eba4 0013aff0 [heap]
02-05 13:37:25.646: I/DEBUG(30): 46e9eba8 df002777
02-05 13:37:25.646: I/DEBUG(30): 46e9ebac e3a070ad
02-05 13:37:25.646: I/DEBUG(30): #00 46e9ebb0 41a00000 /dev/ashmem/dalvik-LinearAlloc (deleted)
02-05 13:37:25.646: I/DEBUG(30): 46e9ebb4 00260a50 [heap]
02-05 13:37:25.646: I/DEBUG(30): 46e9ebb8 00260a54 [heap]
02-05 13:37:25.646: I/DEBUG(30): 46e9ebbc 80bca880 /data/data/net.lp.bfo/lib/libcocos2d.so
02-05 13:37:25.656: I/DEBUG(30): 46e9ebc0 00000003
02-05 13:37:25.656: I/DEBUG(30): 46e9ebc4 80acbfaf /data/data/net.lp.bfo/lib/libcocos2d.so
02-05 13:37:25.656: I/DEBUG(30): 46e9ebc8 00260a50 [heap]
02-05 13:37:25.656: I/DEBUG(30): 46e9ebcc 00260a54 [heap]
02-05 13:37:25.656: I/DEBUG(30): 46e9ebd0 0013aff0 [heap]
02-05 13:37:25.656: I/DEBUG(30): 46e9ebd4 000bed08 [heap]
02-05 13:37:25.656: I/DEBUG(30): 46e9ebd8 00260ba4 [heap]
02-05 13:37:25.666: I/DEBUG(30): 46e9ebdc 00260b98 [heap]
02-05 13:37:25.666: I/DEBUG(30): 46e9ebe0 000bed04 [heap]
02-05 13:37:25.666: I/DEBUG(30): 46e9ebe4 c1a00000
02-05 13:37:25.666: I/DEBUG(30): 46e9ebe8 00000000
02-05 13:37:25.666: I/DEBUG(30): 46e9ebec 80b04f51 /data/data/net.lp.bfo/lib/libcocos2d.so
02-05 13:37:25.666: I/DEBUG(30): 46e9ebf0 0013aff0 [heap]
02-05 13:37:25.666: I/DEBUG(30): 46e9ebf4 80c12271 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.666: I/DEBUG(30): #01 46e9ebf8 00000000
02-05 13:37:25.666: I/DEBUG(30): 46e9ebfc 00230c0c [heap]
02-05 13:37:25.666: I/DEBUG(30): 46e9ec00 00000001
02-05 13:37:25.677: I/DEBUG(30): 46e9ec04 0011f3e8 [heap]
02-05 13:37:25.677: I/DEBUG(30): 46e9ec08 80c12385 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.677: I/DEBUG(30): 46e9ec0c 00000000
02-05 13:37:25.686: I/DEBUG(30): 46e9ec10 80c12365 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.686: I/DEBUG(30): 46e9ec14 00000000
02-05 13:37:25.686: I/DEBUG(30): 46e9ec18 80c12345 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.686: I/DEBUG(30): 46e9ec1c 00000000
02-05 13:37:25.686: I/DEBUG(30): 46e9ec20 80c12325 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.686: I/DEBUG(30): 46e9ec24 00000000
02-05 13:37:25.686: I/DEBUG(30): 46e9ec28 00000000
02-05 13:37:25.686: I/DEBUG(30): 46e9ec2c 46e9ec38
02-05 13:37:25.686: I/DEBUG(30): 46e9ec30 43c80000
02-05 13:37:25.686: I/DEBUG(30): 46e9ec34 43700000 /system/framework/framework-res.apk
02-05 13:37:25.696: I/DEBUG(30): 46e9ec38 44480000
02-05 13:37:25.696: I/DEBUG(30): 46e9ec3c 43f00000
02-05 13:37:25.696: I/DEBUG(30): 46e9ec40 00260a50 [heap]
02-05 13:37:25.696: I/DEBUG(30): 46e9ec44 0025bfd8 [heap]
02-05 13:37:25.696: I/DEBUG(30): 46e9ec48 0012d648 [heap]
02-05 13:37:25.696: I/DEBUG(30): 46e9ec4c 00127500 [heap]
02-05 13:37:25.696: I/DEBUG(30): 46e9ec50 000bed00 [heap]
02-05 13:37:25.696: I/DEBUG(30): 46e9ec54 0013aff0 [heap]
02-05 13:37:25.696: I/DEBUG(30): 46e9ec58 80c1ff68 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:25.696: I/DEBUG(30): 46e9ec5c 0011f3e8 [heap]
02-05 13:37:25.696: I/DEBUG(30): 46e9ec60 0011f3e8 [heap]
02-05 13:37:25.696: I/DEBUG(30): 46e9ec64 4184f2c6 /data/dalvik-cache/data@app@net.lp.bfo-2.apk@classes.dex
02-05 13:37:25.696: I/DEBUG(30): 46e9ec68 4185af44
02-05 13:37:25.706: I/DEBUG(30): 46e9ec6c 80c12089 /data/data/net.lp.bfo/lib/libgame.so
02-05 13:37:26.856: D/Zygote(32): Process 414 terminated by signal (11)
02-05 13:37:26.856: I/ActivityManager(73): Process net.lp.bfo (pid 414) has died.
02-05 13:37:26.888: I/WindowManager(73): WIN DEATH: Window{44f953a8 net.lp.bfo/net.lp.bfo.bfo paused=false}
02-05 13:37:26.888: I/WindowManager(73): WIN DEATH: Window{44ec9050 SurfaceView paused=false}
02-05 13:37:26.926: I/WindowManager(73): Setting rotation to 0, animFlags=1
02-05 13:37:26.976: I/ActivityManager(73): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=8}
02-05 13:37:27.086: I/UsageStats(73): Unexpected resume of com.android.launcher while already resumed in net.lp.bfo
02-05 13:37:27.217: W/InputManagerService(73): Got RemoteException sending setActive(false) notification to pid 414 uid 10040
02-05 13:37:29.636: D/dalvikvm(73): GC_EXPLICIT freed 1426 objects / 79016 bytes in 168ms