Home > Mobile >  Baidu map BaiduMap_AndroidSDK_v6. 4.0 does not support androidx??
Baidu map BaiduMap_AndroidSDK_v6. 4.0 does not support androidx??

Time:11-28

Baidu map example BaiduMap_AndroidSDK_v6. 4.0 _Sample appear the following error is not support androidx,
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 inconsistent

CodePudding 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
  • Related