java.lang.NullPointerException: CameraUpdateFactory is not initialized logcat exception

后端 未结 2 1245
[愿得一人]
[愿得一人] 2021-01-11 18:47

I\'m working with Google Maps. I am able to successfully create and can show a Google Map. Now I want to add CameraUpdate(latitude, longitude). I googled and I

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-11 19:19

    Try with following method initialize google map api before using

    MapsInitializer.initialize(getActivity());
    

提交回复
热议问题