I have an error with my app when i try to drag and move google-maps, the app crash and it’s show me the classical error from android “Unfortunately the application is stopped”. This issue happened with android and only with some devices , for example with a device Nexus 6 and 6.0.1(android version) or with Samsung s4 and 5.0.1(android version).
The issue didn’t happen with others devices or other different versions of android.
I tested with angular-google-maps, ngMap and directly with javascript api v3 from google, but the issue always exists.
I tested with the template ionic-starter-maps and the issue exists too. In this case the logcat show me:
01-13 11:30:23.230 11212 11267 W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
01-13 11:30:23.231 11212 11267 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x338 in tid 11267 (Chrome_InProcGp)
01-13 11:30:23.282 9227 9227 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-13 11:30:23.282 9227 9227 F DEBUG : Build fingerprint: ‘google/shamu/shamu:6.0.1/MMB29S/2489379:user/release-keys’
01-13 11:30:23.282 9227 9227 F DEBUG : Revision: ‘0’
01-13 11:30:23.282 9227 9227 F DEBUG : ABI: ‘arm’
01-13 11:30:23.282 9227 9227 F DEBUG : pid: 11212, tid: 11267, name: Chrome_InProcGp >>> com.ionicframework.maps627861 <<<
01-13 11:30:23.282 9227 9227 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x338
01-13 11:30:23.298 9227 9227 F DEBUG : r0 00000010 r1 00000000 r2 00000000 r3 00000001
01-13 11:30:23.298 9227 9227 F DEBUG : r4 80000000 r5 40000000 r6 20000000 r7 000006f0
01-13 11:30:23.298 9227 9227 F DEBUG : r8 00000000 r9 00000000 sl 00000001 fp 00000004
01-13 11:30:23.298 9227 9227 F DEBUG : ip 00000001 sp 98e7f1b4 lr a932a1ad pc a93b9f9e cpsr 80070030
01-13 11:30:23.301 9227 9227 F DEBUG :
01-13 11:30:23.301 9227 9227 F DEBUG : backtrace:
01-13 11:30:23.301 9227 9227 F DEBUG : #00 pc 001bef9e /system/vendor/lib/egl/libGLESv2_adreno.so (EsxGfxMem::UpdateTimestampBucketId(EsxContext const*, unsigned int, EsxAccessType)+65)
01-13 11:30:23.301 9227 9227 F DEBUG : #01 pc 0012f1a9 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::BucketRenderingCmds()+588)
01-13 11:30:23.302 9227 9227 F DEBUG : #02 pc 001b0d0d /system/vendor/lib/egl/libGLESv2_adreno.so (EsxCmdMgr::Flush(EsxFlushReason)+76)
01-13 11:30:23.302 9227 9227 F DEBUG : #03 pc 0031dcb7 /data/app/com.google.android.webview-2/lib/arm/libwebviewchromium.so
01-13 11:30:23.988 9227 9227 F DEBUG :
01-13 11:30:23.988 9227 9227 F DEBUG : Tombstone written to: /data/tombstones/tombstone_06
01-13 11:30:23.988 9227 9227 E DEBUG : AM write failed: Broken pipe
01-13 11:30:23.989 859 875 I BootReceiver: Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)
01-13 11:30:23.991 859 11356 W ActivityManager: Force finishing activity com.ionicframework.maps627861/.MainActivity
01-13 11:30:24.071 859 5833 I OpenGLRenderer: Initialized EGL, version 1.4
What do you think about this issue??? Somebody can help me??
I have the same issue with a fully updated N6P. The app loads and when map is opened it crashes. The same app works when map is not there. However, the N5 with latest updates work fine.
Hi, this problem is an issue with the webview in some devices, especially the Nexus… I resolved this issue using leafletjs for the map (http://leafletjs.com/). If you want, you can use the google maps layers.
I figured it out!
I literally spent hours till I got it. All you have to do is set draggable to true on the markers like this:
var marker = new google.maps.Marker({
position: markerLatLng,
map: map,
title: tempItems[i].name,
draggable: true
});
The problem was only happening on my Nexus 5x, but it worked on an iPhone6, iPhone5c, and the Asus Zendphone2. If this doesn’t work, comment out your markers and see if the maps come up at all. For me, it was ONLY the markers that where causing troubles.
Great
I just got and update of the Android System Webview but it was only the M48 release.
Just knowing that a fix has been found and is on the way is more than enough for me, thanks!