[地图在其他手机可以运行,华为手机运行直接崩 ]
android studio开发,集成地图, 运行在模拟器和小米3.小米4上,地图都可以正常集成显示,但是运行到华为手机上,直接崩. activity类就写了这些东西,
public class LocMapActivity extends Activity {
private MapView mMapView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
SDKInitializer.initialize(getApplicationContext());
setContentView(R.layout.activity_loc_map);
mMapView = (MapView) findViewById(R.id.bmapView);
}}
求大神点拔!!!!!
android studio开发,集成地图, 运行在模拟器和小米3.小米4上,地图都可以正常集成显示,但是运行到华为手机上,直接崩. activity类就写了这些东西,
public class LocMapActivity extends Activity {
private MapView mMapView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
SDKInitializer.initialize(getApplicationContext());
setContentView(R.layout.activity_loc_map);
mMapView = (MapView) findViewById(R.id.bmapView);
}}
求大神点拔!!!!!