集成SDK后应用经常崩溃

问题描述 投票:1回答:1

我已经成功地将HERE Flutter SDK集成到我的应用程序中,我成功地显示了带有标记的HERE地图,并获得了来自 RoutingEngine.calculateCarRoute. 很多时候,特别是在调试和导航回溯时,应用自集成后崩溃。这是最近一次崩溃的一个堆栈跟踪。

Build fingerprint: 'OnePlus/OnePlus5/OnePlus5:9/PKQ1.180716.001/2002242003:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 32060, tid: 32185, name: Thread-44  >>> appidentifier <<<
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x788f7c37d0
    x0  000000788f86cd00  x1  0000007878b82220  x2  000000788f7c37d0  x3  0000000000000000
    x4  000000785bcf9001  x5  0000000000000000  x6  00000078785efdc1  x7  00000000000000a2
    x8  000000788cb79104  x9  0000000000000002  x10 0000000000000001  x11 0000000000000000
    x12 000000786f615800  x13 0000000000000001  x14 0000000000000000  x15 0000007882dfe6c0
    x16 000000788e03f7c0  x17 000000792ccae05c  x18 0000000000000010  x19 000000788f65c158
    x20 0000007882dfe620  x21 0000007882dff588  x22 0000007882dfe5f0  x23 0000000000000001
    x24 000000788f944180  x25 0000000000000006  x26 000000788fccf400  x27 00000078718357d0
    x28 0000000000000004  x29 0000007882dfe680
    sp  0000007882dfe5d0  lr  000000788cb23bf0  pc  000000788f7c37d0
backtrace:
    #00 pc 00000000001c37d0  [anon:libc_malloc:000000788f600000]
    #01 pc 000000000024bbec  /data/app/appidentifier-84DIJI7JrxXFbuOqpeuANg==/lib/arm64/libheresdk.so
    #02 pc 000000000024b9d8  /data/app/appidentifier-84DIJI7JrxXFbuOqpeuANg==/lib/arm64/libheresdk.so (here_sdk_library_execute_callbacks+44)
    #03 pc 000000000000525c  <anonymous:0000007880d80000>

正如你所看到的,崩溃来自于Here SDK --> libheresdk.so (here_sdk_library_execute_callbacks+44)

有什么办法可以解决这个问题吗?目前,由于这些问题,SDK无法使用.我的SDK版本是 "HERE SDK for Flutter(探索版)--4.3.2.0版本"

更新

我的应用可以做到以下几点。

  • 在地图上显示当前位置
  • 获得自动完成建议和搜索条目的位置。
  • 获取路线信息,也就是当前位置到所选目的地的方向。
  • 在地图上用多段线显示该路线信息。

我可以完全按照这个流程,然后从第二个地图屏幕导航回至 car route 画面。

更新2:

SDK 4.3.3.3.0.86没有崩溃,但当我暂时不接触应用和地图时,会导致ANR。当我强行退出应用程序时,我得到。

I/appidentifier(14261): Thread[5,tid=14294,WaitingInMainSignalCatcherLoop,Thread*=0x73f03fc800,peer=0x146019a0,"Signal Catcher"]: reacting to signal 3
I/appidentifier(14261): 
I/appidentifier(14261): Wrote stack traces to tombstoned
F/crash_dump64(15038): crash_dump.cpp:550] failed to attach to thread 590: Permission denied
flutter here-api
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.