Skobbler를 버전 2.5.2로 업데이트하여 Google Play 경고 (버전 3 이상으로 업데이트하려고 시도 함)를 해결했지만 탐색 후 탐색이 올바르게 작동하지 않습니다. Skobbler Android - 경로 계산 후 유효하지 않은 SKAdvices
는 후 (getAdviceList. 내가 SKRouteManager.getInstance를 사용하여 조언 목록()을 확인을 onRouteCalculationCompleted)을 유효한 조언을받을 수 있습니다. 조언 목록은 내가 탐색 및 응용 프로그램 충돌을 시작하기 전에 로그 코드를 추가 유효한 상태로 남아있는 경우onUpdateNavigationState SKNavigationState [adviceID=-1, currentSpeed=5.304781188371101E-58, currentSpeedLimit=0.0, countryCode=, lastAdvice=false, showSignPost=false, currentAdviceCurrentStreetName=, currentAdviceNextStreetName=, currentAdviceCurrentOsmStreetType=UNDEFINED, currentAdviceNextOsmStreetType=UNDEFINED, currentAdviceDistanceToAdvice=-738480304, currentAdviceTimeToDestination=-738962832, currentAdviceDistanceToDestination=-738480656, currentAdviceVisualAdviceFile=, currentAdviceAudioAdvices=[None], currentAdviceExitNumber=, nextAdviceCurrentStreetName=, nextAdviceNextStreetName=, nextAdviceDistanceToAdvice=-738854288, nextAdviceVisualAdviceFile=, nextAdviceCurrentOsmStreetType=UNDEFINED, nextAdviceNextOsmStreetType=UNDEFINED, distanceToDestination=0.0, firstCrossingDescriptor=SKCrossingDescriptor [crossingType=0, routeAngle=0.0, turnToRight=false, directionUK=false, allowedRoutesAngles=null, forbiddenRoutesAngles=null], secondCrossingDescriptor=SKCrossingDescriptor [crossingType=0, routeAngle=0.0, turnToRight=false, directionUK=false, allowedRoutesAngles=null, forbiddenRoutesAngles=null], adviceInstruction=, viaPointsInfo=null, isLastVisualAdvice=false, currentStreetDirection=DIRECTION_INVALID, nextStreetDirection=DIRECTION_INVALID]
확인하려면 다음을 탐색하는 동안
SKRouteAdvice [adviceID=0, timeToDestination=261, distanceToDestination=1234, timeToAdvice=0, distanceToAdvice=0, streetName=Rua Barao do Abiaí, visualAdviceFile=/data/user/0/myapp/files/SKMaps//Advisor/Visual/104962/1.png, advicePosition=[-35.886744260787964,-7.215477737837522], adviceInstruction=Now turn left then turn right , audioFilePlaylist=[now, turn_left, then_open, turn_right], currentStreetType=RESIDENTIAL, currentStreetFCClass=FC3, streetDirection=DIRECTION_LEFT]
그러나 조언이 같은 잘못된 일이며, 다음 오류와 함께 :
02-10 12:06:43.769 3236-3236/myapp A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3236 (urance.myapp)
02-10 12:06:43.994 4166-4166/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-10 12:06:43.995 4166-4166/? A/DEBUG: Build fingerprint: 'google/bullhead/bullhead:7.1.1/N4F26O/3582057:user/release-keys'
02-10 12:06:43.995 4166-4166/? A/DEBUG: Revision: 'rev_1.0'
02-10 12:06:43.995 4166-4166/? A/DEBUG: ABI: 'arm'
02-10 12:06:43.995 4166-4166/? A/DEBUG: pid: 3236, tid: 3236, name: urance.myapp >>> myapp <<<
02-10 12:06:43.995 4166-4166/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
02-10 12:06:43.995 4166-4166/? A/DEBUG: r0 00000001 r1 d71b69dd r2 00000002 r3 f1304a40
02-10 12:06:43.995 4166-4166/? A/DEBUG: r4 f1323200 r5 eb614ef0 r6 00000000 r7 00000002
02-10 12:06:43.995 4166-4166/? A/DEBUG: r8 00000001 r9 ffcd6bb4 sl c39fcd80 fp c4b7b000
02-10 12:06:43.995 4166-4166/? A/DEBUG: ip 00000000 sp ffcd6a38 lr d72b8347 pc d72b834c cpsr 000f0030
02-10 12:06:43.998 4166-4166/? A/DEBUG: backtrace:
02-10 12:06:44.000 4166-4166/? A/DEBUG: #00 pc 0033734c /data/app/myapp-2/lib/arm/libngnative.so (_ZN17SkAdviceGenerator14fillAdviceInfoEiiR16NGAdviceTypeEnumR12SkAdviceInfo+671)
02-10 12:06:44.000 4166-4166/? A/DEBUG: #01 pc 003367ff /data/app/myapp-2/lib/arm/libngnative.so (_ZN17SkAdviceGenerator17generateNewAdviceEibbPK6CRoute+550)
02-10 12:06:44.000 4166-4166/? A/DEBUG: #02 pc 00332adb /data/app/myapp-2/lib/arm/libngnative.so (_ZN9SkAdvisor22generateAllAdvicesOnceERK6CRouteb+566)
02-10 12:06:44.000 4166-4166/? A/DEBUG: #03 pc 0011033f /data/app/myapp-2/lib/arm/libngnative.so (NG_GetAdviceList+142)
02-10 12:06:44.000 4166-4166/? A/DEBUG: #04 pc 000efcab /data/app/myapp-2/lib/arm/libngnative.so (Java_com_skobbler_ngx_routing_SKRouteManager_getadvicelist+38)
02-10 12:06:44.000 4166-4166/? A/DEBUG: #05 pc 006cb7d1 /data/app/myapp-2/oat/arm/base.odex (offset 0x658000)
추신 : 내 코드는 Skobbler의 데모 프로젝트와 매우 유사합니다.
다른 사람이 같은 문제가 있습니까?
http://stackoverflow.com/questions/41633362/skobbler-sdk-android-corrupt-inconsistent-sknavigationstate-objects를 참조하십시오. – Jan