I am currently using the Skobbler SDK in an Android application for processing map tasks and turn-based tasks. One of the problems was the desire to switch to the frequency with which the audio advice is issued from the SDK, so we do not have too many instructions that run one after another.
I found this answer to another question that explains the need to modify the advice_places.adv file, which I could find in the SDK under SKMaps.zip .
The problem I am facing seems to be related to the way I am re-archiving the zip file after I have finished making changes to the advice_places.adv file. I work on a Mac, and it seems that whether I use the built-in βCompress ...β context menu or if I perform a zip operation through a command line similar to:
zip -vr SKMaps.zip SKMaps/ -x "*.DS_Store"; chmod +x SKMaps.zip
I still cannot download my application without crashing during the initialization process of the Skobbler SDK card.
I narrowed down the problem because it is a problem with zip / unzip, as I can recreate the crash even if I do not modify the contents of SKMaps.zip, but only unzip it and then rezip it.
Here is a dump of the logs that I see when my application crashes.
SKMaps D SKMapViewHolder----@onResume D SKMapSurfaceView----@onResume D SKMapSurfaceView----@onResume preserve GL context is TRUE WindowManager V Adding window Window{278f3a43 u0 com.company.mymapapp/com.company.mymapapp.activities.MainActivity} at 23 of 32 (before Window{246caca8 u0 SurfaceView}) V Adding window Window{1b0d49f9 u0 SurfaceView} at 23 of 33 (before Window{278f3a43 u0 com.company.mymapapp/com.company.mymapapp.activities.MainActivity}) SKMaps D MapRenderer----@onSurfaceCreated D MapRenderer----@onSurfaceCreated LinInitialized = true D MapRenderer---- @initGLView SkobblerNG D set density JNI - before NG_SetScreenScale D set density JNI - after NG_SetScreenScale libc F Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 24828 (GLThread 44711) btif_config_util D btif_config_save_file(L188): in file name:/data/misc/bluedroid/bt_config.new DEBUG I *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I Build fingerprint: 'google/shamu/shamu:5.1/LMY47I/1767468:user/release-keys' I Revision: '33696' I ABI: 'arm' I pid: 24493, tid: 24828, name: GLThread 44711 >>> com.company.mymapapp <<< I signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4 I r0 00000001 r1 00000000 r2 00000001 r3 00000029 I r4 a0edfcd0 r5 00000000 r6 a0edfc00 r7 a044a9b0 I r8 00000000 r9 a044a9d8 sl 00000001 fp 13250820 I ip 80000000 sp a044a978 lr 9e8d5efd pc 9e8d5f22 cpsr 600f0030 I backtrace: I
If anyone has information on the preferred way to create a zip file on a Mac for use with the Skobbler SDK in this way, I would appreciate any advice.
Thanks! Whale
Keith source share