android - HERE Maps 在 libMAPSJNI.so 崩溃

标签 android crash here-api

我们使用 HERE Premium SDK。
当我们长按 map 时,我们正在使用 ReverseGeocodeRequest2 反转该点的经纬度地址。搜索完成后,地址显示在 map 上。

反复长按会导致下面的崩溃。

我正在寻找崩溃的原因

请让我知道解决的步骤。

11-29 11:44:16.227 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad: Failed to generate minidump.
11-29 11:44:16.284 491-491/? D/SurfaceFlinger: duplicate layer name: changing jp.co.zero_sum.m2smart.navi/jp.co.zero_sum.m2smart.navi.MainActivity to jp.co.zero_sum.m2smart.navi/jp.co.zero_sum.m2smart.navi.MainActivity#1
11-29 11:44:16.440 28186-28103/? A/google-breakpad: Microdump skipped (uninteresting)
11-29 11:44:16.484 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
11-29 11:44:16.484 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad: Chrome build fingerprint:
11-29 11:44:16.484 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad: 70.0.3538.80
11-29 11:44:16.484 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad: 353808052
11-29 11:44:16.485 27937-28103/jp.co.zero_sum.m2smart.navi W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
11-29 11:44:16.485 27937-28103/jp.co.zero_sum.m2smart.navi A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x11 in tid 28103 (Gestures), pid 27937 (um.m2smart.navi)
11-29 11:44:16.562 28192-28192/? E/DEBUG: failed to readlink /proc/28103/fd/148: No such file or directory
11-29 11:44:16.606 28192-28192/? I/crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
11-29 11:44:16.612 812-812/? I//system/bin/tombstoned: received crash request for pid 28103
11-29 11:44:16.614 28192-28192/? I/crash_dump32: performing dump of process 27937 (target tid = 28103)
11-29 11:44:16.651 28192-28192/? A/DEBUG: * *
11-29 11:44:16.652 28192-28192/? A/DEBUG: Build fingerprint: 'google/marlin/marlin:9/PPR1.180610.009/4898911:user/release-keys'
11-29 11:44:16.652 28192-28192/? A/DEBUG: Revision: '0'
11-29 11:44:16.652 28192-28192/? A/DEBUG: ABI: 'arm'
11-29 11:44:16.652 28192-28192/? A/DEBUG: pid: 27937, tid: 28103, name: Gestures >>> jp.co.zero_sum.m2smart.navi <<<
11-29 11:44:16.652 28192-28192/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x11
11-29 11:44:16.652 28192-28192/? A/DEBUG: Cause: null pointer dereference
11-29 11:44:16.652 28192-28192/? A/DEBUG: r0 00000001 r1 00000005 r2 c48417b0 r3 00000001
11-29 11:44:16.652 28192-28192/? A/DEBUG: r4 c3bdc190 r5 c0a7a620 r6 c3bdc194 r7 c3bdc194
11-29 11:44:16.652 28192-28192/? A/DEBUG: r8 00000000 r9 00000001 r10 00000000 r11 c2e0b75c
11-29 11:44:16.652 28192-28192/? A/DEBUG: ip c48417d0 sp c2e0b758 lr c97c3828 pc c97c4f9c
11-29 11:44:16.655 28192-28192/? A/DEBUG: backtrace:
11-29 11:44:16.655 28192-28192/? A/DEBUG: #00 pc 0026ff9c /data/app/jp.co.zero_sum.m2smart.navi-AWOBSvAp7UkzzwuMoCXHhw==/lib/arm/libMAPSJNI.so

最佳答案

请立即下载新版本 4.x。另请参阅高级 SDK 下载引用。

https://developer.here.com/documentation/android-premium/api_reference_java/com/here/android/mpa/search/ReverseGeocodeRequest.html

public ReverseGeocodeRequest(GeoCoordinate location,
ReverseGeocodeMode mode,
float bearing)
Creates a reverse geocode request that resolves a GeoCoordinate into an Location.
Parameters:
location - A GeoCoordinate representing the query location context.
mode - A ReverseGeocodeMode mode in which the response should be filtered.
bearing - A bearing expresses the direction in which the vehicle is heading in degrees starting at true North and continuing clockwise around the compass. Ignored if mode is not equal to ReverseGeocodeMode.TRACK_POSITION.
Throws:
java.lang.IllegalArgumentException - Upon a failure to handle a passed argument.

关于android - HERE Maps 在 libMAPSJNI.so 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53534381/

相关文章:

android - 如何在 Bottombar 上方显示 Snackbar?

.net - 检测到 AccessViolationException 时如何强制应用程序崩溃

javascript - 此处自动填充搜索框 map 使用此处 map api 将国家/地区限制为英国

javascript - 诺基亚这里 javascript 地理编码不返回英文地址

c - 相当于 Windows getch() for Mac/Linux crashes

android - 从手机打开此处 map 网址

android - 解析 xml 时出错 : Unbound prefix with the Facebook SDK

java - 如何在低 API 级别获取 TimeZone?

android - 推特图片上传(twitpic api)- 无法找到图片上传方法

visual-c++ - 当消耗数GB的内存时,vc++ 64位程序在新的运算符上崩溃