카카오내비 SDK와 관련된 질문과 답변을 올리는 카테고리입니다.
리소스 사용이 많아서 인지 대부분 버벅이는데 “안내를 시작합니다.” 같은 길안내 시작 직후 화면이 멈추고
ANR 이 발생 합니다. 킷캣 보다 롤리팝에서 더 자주 발생합니다.
제 태블릿 PC가 저사양이긴 하지만 느린게 아니라 멈추기 때문에 앱 구조에 문제가 있지않나 싶습니다.
ANR trace.txt 첨부 드립니다.
혹시 담당 개발자에게 전달 될수 있다면 추후 버전에서 보완 할 수 있도록 희망해 봅니다.
전달 부탁 드리겠습니다.
----- pid 1607 at 2019-06-21 13:52:49 -----
Cmd line: com.locnall.KimGiSa
JNI: CheckJNI is off; workarounds are off; pins=1; globals=332
DALVIK THREADS:
(mutexes: tll=0 tsl=0 tscl=0 ghl=0)
“main” prio=5 tid=1 NATIVE
| group=“main” sCount=1 dsCount=0 obj=0x41a3d370 self=0x400c74a8
| sysTid=1607 nice=0 sched=0/0 cgrp=apps handle=1075229012
| state=S schedstat=( 33568606879 9297954750 46426 ) utm=3112 stm=244 core=2
#00 pc 00020640 /system/lib/libc.so (__ioctl+8)
#01 pc 0002cedf /system/lib/libc.so (ioctl+14)
#02 pc 0001d3ed /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)
#03 pc 0001d8d7 /system/lib/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+42)
#04 pc 0001dadf /system/lib/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+118)
#05 pc 00019791 /system/lib/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+30)
#06 pc 00056211 /system/lib/libmedia.so
#07 pc 000532f1 /system/lib/libmedia.so (android::MediaPlayer::start()+84)
#08 pc 00019861 /system/lib/libmedia_jni.so
#09 pc 0001dbcc /system/lib/libdvm.so (dvmPlatformInvoke+112)
#10 pc 0004e133 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#11 pc 00026fe0 /system/lib/libdvm.so
#12 pc 0002dfa0 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#13 pc 0002b638 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#14 pc 00060871 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
#15 pc 000687d3 /system/lib/libdvm.so
#16 pc 00026fe0 /system/lib/libdvm.so
#17 pc 0002dfa0 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#18 pc 0002b638 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#19 pc 0006058d /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#20 pc 00049d1b /system/lib/libdvm.so
#21 pc 0004d36b /system/lib/libandroid_runtime.so
#22 pc 0004e08f /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)
#23 pc 0000105b /system/bin/app_process
#24 pc 0000e403 /system/lib/libc.so (__libc_init+50)
#25 pc 00000d7c /system/bin/app_process
at android.media.MediaPlayer._start(Native Method)
at android.media.MediaPlayer.start(MediaPlayer.java:1073)
at com.kakao.KakaoNaviSDK.Engine.SoundManager.KNSoundManager$12.onCompletion(KNSoundManager.java:482)
at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:2215)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:801)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:617)
at dalvik.system.NativeStart.main(Native Method)
“SoundPool” prio=5 tid=52 NATIVE
| group=“main” sCount=1 dsCount=0 obj=0x43246640 self=0x6e295ed0
| sysTid=3347 nice=0 sched=0/0 cgrp=apps handle=1848217472
| state=S schedstat=( 503625 4138875 1 ) utm=0 stm=0 core=3
#00 pc 000219bc /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000ef7c /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000efdc /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 00066833 /system/lib/libmedia.so (android::SoundPool::run()+20)
#04 pc 0004d305 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#05 pc 0000e58f /system/lib/libutils.so
#06 pc 0000d228 /system/lib/libc.so (__thread_entry+72)
#07 pc 0000d3c0 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)
“SoundPoolThread” prio=5 tid=50 NATIVE
| group=“main” sCount=1 dsCount=0 obj=0x43246720 self=0x6e295a78
| sysTid=3348 nice=0 sched=0/0 cgrp=apps handle=1777257816
| state=S schedstat=( 1435125 9618375 7 ) utm=0 stm=0 core=1
#00 pc 000219bc /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000ef7c /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000efdc /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 00066c9d /system/lib/libmedia.so
#04 pc 00066cef /system/lib/libmedia.so (android::SoundPoolThread::read()+16)
#05 pc 00066e9b /system/lib/libmedia.so (android::SoundPoolThread::run()+14)
#06 pc 0004d305 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)
#07 pc 0000e58f /system/lib/libutils.so
#08 pc 0000d228 /system/lib/libc.so (__thread_entry+72)
#09 pc 0000d3c0 /system/lib/libc.so (pthread_create+240)
at dalvik.system.NativeStart.run(Native Method)