我们正在使用这里的 Android SDK(Premium Edition,确切地说是 3.17 版),我注意到 NavigationManagerImpl 周围似乎有一个 ANR:
ANR: Broadcast of Intent { act=android.intent.action.TIME_TICK flg=0x50200014 (has extras) }
at dalvik.system.VMStack.getThreadStackTrace(VMStack.java:-2)
at java.lang.Thread.getStackTrace(Thread.java:1538)
at com.bugsnag.android.AnrPlugin.notifyAnrDetected(AnrPlugin.kt:54)
at com.nokia.maps.NavigationManagerImpl.getEtaNative(NavigationManagerImpl.java:-2)
at com.nokia.maps.NavigationManagerImpl.a(NavigationManagerImpl.java:185)
at com.here.android.mpa.guidance.NavigationManager.getEta(NavigationManager.java:1)
at com.here.msdkui.guidance.base.BaseGuidancePresenter.getEta(BaseGuidancePresenter.java:313)
at com.here.msdkui.guidance.GuidanceEstimatedArrivalViewPresenter.handlePositionUpdate(GuidanceEstimatedArrivalViewPresenter.java:46)
at com.here.msdkui.guidance.base.BaseGuidancePresenter$3.onPositionUpdated(BaseGuidancePresenter.java:70)
at com.nokia.maps.NavigationManagerImpl$v.a(NavigationManagerImpl.java:4)
at com.nokia.maps.NavigationManagerImpl$v.a(NavigationManagerImpl.java:1)
at com.nokia.maps.g5.b(WeakReferenceListenerList.java:30)
at com.nokia.maps.g5$a.run(WeakReferenceListenerList.java:1)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7179)
at java.lang.reflect.Method.invoke(Method.java:-2)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
由于这里的网站声明对这里的 SDK 的支持是通过 Stackoverflow 问题提供的,我将把这个堆栈跟踪留在那里,并提出以下问题 - 我们如何摆脱这个问题?它似乎有点持久,至少对于积极使用我们应用程序内置导航的用户而言。