“IBitmapDescriptorFactory is not initialized” error

后端 未结 7 794
小鲜肉
小鲜肉 2021-01-31 13:52

I\'m trying to get a marker with an custom icon in Google Maps Android API v2. I just changed one of the examples Google provides. I added .icon(BitmapDescriptorFactory.fr

7条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-31 14:11

    This happened to me and finally In my case what I could find was the google play services were not installed. So installed them and app did not crash. So may be one can put try and a dialog saying so in the catch block.

提交回复
热议问题