import com.google.android.gms.maps.SupportMapFragment;
import androidx.fragment.Fragment;
...
private SupportMapFragment mMapFragment;
...
mMapFragment = (SupportMap
I had this issue too. It is really not nice, and for sure temporary, but that was the only way I could make it work. So at least it unblocked me until it gets fixed.
final Object mf = getChildFragmentManager().findFragmentById(R.id.map);
if (mf instanceof SupportMapFragment) {
final SupportMapFragment smf = (SupportMapFragment) mf;
// ...
} else {
//handle
}
It works both compiler time and runtime.