我们使用了HERE Premium SDK。 长按地图时,将使用ReverseGeocodeRequest2反转该点的经度和纬度地址。搜索完成后,该地址将显示在地图上。
反复长按会导致以下崩溃。
我正在寻找崩溃的原因
11-29 11:44:16.227 27937-28103 / jp.co.zero_sum.m2smart.navi W / google-breakpad:无法生成小型转储。
11-29 11:44:16.284 491-491 /? D / SurfaceFlinger:重复的图层名称:将jp.co.zero_sum.m2smart.navi / jp.co.zero_sum.m2smart.navi.MainActivity更改为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跳过了(没意思)
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构建指纹:
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:致命信号11(SIGSEGV),代码1(SEGV_MAPERR),tid 28103(Gestures)中的故障地址0x11,pid 27937 (um.m2smart.navi)
11-29 11:44:16.562 28192-28192 /? E / DEBUG:无法读取链接/ proc / 28103 / fd / 148:没有此类文件或目录
11-29 11:44:16.606 28192-28192 /? I / crash_dump32:从逻辑删除中获取输出fd,键入:kDebuggerdTombstone
11-29 11:44:16.612 812-812 /? I // system / bin /逻辑删除:收到的pid 28103崩溃请求
11-29 11:44:16.614 28192-28192 /? I / crash_dump32:执行过程27937的转储(目标tid = 28103)
11-29 11:44:16.651 28192-28192 /? A / DEBUG: * < / strong> > > *
11-29 11:44:16.652 28192-28192 /? A /调试:构建指纹:“ google / marlin / marlin:9 / PPR1.180610.009 / 4898911:user / release-keys”
11-29 11:44:16.652 28192-28192 /? A / DEBUG:修订:“ 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,名称:Gestures >>> jp.co.zero_sum.m2smart.navi <<<< br /> 11-29 11:44:16.652 28192-28192 /? A / DEBUG:信号11(SIGSEGV),代码1(SEGV_MAPERR),故障加法器0x11
11-29 11:44:16.652 28192-28192 /? A / DEBUG:原因:空指针取消引用
11-29 11:44:16.652 28192-28192 /? A /调试: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 /调试: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:回溯:
11-29 11:44:16.655 28192-28192 /? A /调试:#00 pc 0026ff9c /data/app/jp.co.zero_sum.m2smart.navi-AWOBSvAp7UkzzwuMoCXHhw==/lib/arm/libMAPSJNI.so
答案 0 :(得分:0)
请立即下载新版本4.x。另请参阅高级SDK下载参考。
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.