2
        Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=1; index=12
               at com.google.maps.api.android.lib6.gmm6.vector.ct.<init> + 9(:com.google.android.gms.dynamite_mapsdynamite@201216047@20.12.16 (040308-0):9)
               at com.google.maps.api.android.lib6.gmm6.vector.cv.a + 23(:com.google.android.gms.dynamite_mapsdynamite@201216047@20.12.16 (040308-0):23)
               at com.google.maps.api.android.lib6.gmm6.util.m.run + 14(:com.google.android.gms.dynamite_mapsdynamite@201216047@20.12.16 (040308-0):14)
               at java.lang.Thread.run + 764(Thread.java:764)

Google Maps Crashes i tried launch the screen with the following:

  • Map Fragment
  • Add Marker
  • Draw Polly line
  • I have used Dependencies:
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'com.google.android.material:material:1.0.0'

    implementation 'com.google.maps.android:android-maps-utils:0.5+'
    implementation 'com.google.android.gms:play-services-maps:17.0.0'
    implementation 'com.google.android.gms:play-services-location:17.0.0'
    implementation 'com.google.android.gms:play-services-places:17.0.0'
    implementation 'com.google.android.gms:play-services-auth:17.0.0'
    implementation 'com.google.firebase:firebase-messaging:20.1.0'
    implementation 'com.google.firebase:firebase-auth:19.2.0'

Device Motorola Z Play(Android 8.0) I could not figure out the issue as it keeps on crashing in some devices. How can I solve this?

Device Details

Android 5.1 & Android 8.0

halfer
  • 19,824
  • 17
  • 99
  • 186
Mukesh
  • 63
  • 9
  • 1
    Please read [Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers?](//meta.stackoverflow.com/q/326569) - the summary is that this is not an ideal way to address volunteers, and is probably counterproductive to obtaining answers. Please refrain from adding this to your questions. – halfer Apr 26 '20 at 15:52
  • The issue got resolved by Uninstalling and reinstalling the app, the issue was because of Play-services SDK it worked, Thanks @halfer – Mukesh May 12 '20 at 13:15

1 Answers1

7

It is problem with Google Maps SDK, not with your app. Recommended solution is to clean app data from Settings. Or app reinstall.

You can track Google fixing this issue here: https://issuetracker.google.com/issues/154855417

Kubik
  • 610
  • 7
  • 15