I'm following the Google Maps documentation and I'm getting this error. I just want to know what am I doing worng
SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()
.findFragmentById(R.id.map);
This is the error
'inconvertible types cannot cast android.support.v4.app.fragment'
I'm getting this error as soon as the Google Maps Activity
is created by default. Have spent 3 days working on it but still not able to find any solution to this petty problem.