"IBitmapDescriptorFactory is not initialized" error
Call MapsInitializer.initialize(getApplicationContext())
in the onCreate()
Call following in onCreate()
try {
MapsInitializer.initialize(getApplicationContext());
} catch (GooglePlayServicesNotAvailableException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Move your code to be called onMapReady()
, a callback provided by the GoogleMaps API.
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.