With is the import of android SDK. Support. The v4. App. Fragments; While my app using the import androidx. Fragments. App. FragmentActivity;
It is not compatible?
SupportMapFragment supportMapFragmentA=(SupportMapFragment) getSupportFragmentManager () findFragmentById (R.i d.m ap1));
error: incompatible types: fragments cannot be converted to SupportMapFragment
CodePudding user response:
Type caused by inconsistentCodePudding user response:

He also doesn't matter, two strong turn also not line
CodePudding user response:
Should be
CodePudding user response:
Change the gold, baidu's package volume is very large