crash on start

crash on start
0.0 0


I’m trying to run a cocos project in android emulator but I get signal 11 (SIGSEGV), code 1 (SEGV_MAPERR).
Here is crash log extracted with adb

********** Crash dump: **********
Build fingerprint: 'generic/sdk/generic:4.4.2/KK/938007:eng/test-keys’
pid: 1372, tid: 1386, name: rianAndZoe.Farm >>> ro.AdrianAndZoe.Farm <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00003098
Stack frame #00 pc 00168138 /data/app-lib/ro.AdrianAndZoe.Farm-1/ (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, …)+3): Routine _JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, …) at /Users/Adrian/Desktop/android-ndk-r9d/platforms/android-19/arch-arm/usr/include/jni.h:807
Stack frame #01 pc 00232e95 /data/app-lib/ro.AdrianAndZoe.Farm-1/ Routine engine_handle_cmd at /Users/Adrian/Farm/…/cocos2d/cocos/2d/platform/android/nativeactivity.cpp:576 (discriminator 1)
Stack frame #02 pc 002346ff /data/app-lib/ro.AdrianAndZoe.Farm-1/ Routine process_cmd at /Users/Adrian/Desktop/android-ndk-r9d/sources/android/native_app_glue/android_native_app_glue.c:203 (discriminator 1)
Stack frame #03 pc 00233203 /data/app-lib/ro.AdrianAndZoe.Farm-1/ (android_main+146): Routine android_main at /Users/Adrian/Farm/…/cocos2d/cocos/2d/platform/android/nativeactivity.cpp:676
Stack frame #04 pc 0023456b /data/app-lib/ro.AdrianAndZoe.Farm-1/ Routine android_app_entry at /Users/Adrian/Desktop/android-ndk-r9d/sources/android/native_app_glue/android_native_app_glue.c:232
Stack frame #05 pc 0000d060 /system/lib/ (__thread_entry+72)
Stack frame #06 pc 0000d1f8 /system/lib/ (pthread_create+240)


Please don’t use simulator. Use device instead.


I s there any way i can use the emulator like changing something in nativeactivity.cpp?


Because Android simulator is so good ad iOS, so we always run on devices. So i don’t put energy on it.