I am trying to create a marker in the way you mentioned but I am getting the following error :
Runtime Error : Attempt to invoke virtual method ‘com.google.android.gms.maps.model.Marker com.google.android.gms.maps.GoogleMap.addMarker(com.google.android.gms.maps.model.MarkerOptions)’ on a null object reference.
Below I have attaced my coding blocks
Please help me to identify the mistake
