SupportMapFragment does not support AndroidX Fragment
问题 import com.google.android.gms.maps.SupportMapFragment; import androidx.fragment.Fragment; ... private SupportMapFragment mMapFragment; ... mMapFragment = (SupportMapFragment) form.getSupportFragmentManager().findFragmentByTag(MAP_FRAGMENT_TAG); Here, the IDE shows an error that androidx.fragment.Fragment cannot cast to SupportMapFragment (which extends android.support.v4.app.Fragment) I'm using the version 15.0.1 of the play-services-maps and version 1.0.0-beta01 of the AndroidX libraries. I