IllegalArgumentException: Unmanaged descriptor using gms.maps.model.Marker.setIcon

后端 未结 10 2057
眼角桃花
眼角桃花 2020-12-14 05:39

I have an app that use android-maps-utils and glide for marker icons.
I got an error report using Firebase crash reporting which I can\'t track in source code because

10条回答
  •  情话喂你
    2020-12-14 06:11

    When clearing the map with

        googleMap.clear();
    

    **remove any reference to all the markers** on the map. I had the problem and figured out that the problem was with my code which I forgot to remove reference to a marker and tried to change icon of a cleared Marker

提交回复
热议问题