进口部分
package com.example.mapsearch;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.Toast;
import android.widget.ZoomControls;
import java.util.List;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
其中——mv=(MapView)findViewById(R.id.mv);
public class MainActivity extends Activity {
MapView mv;
MapController controller;
Bitmap bmpArrow;
RadioButton rbNormal;
RadioButton rbSatellite;
@Override
protected void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.activity_main);
bmpArrow = BitmapFactory.decodeResource (
getResources(), R.drawable.ic_launcher);
mv=(MapView)findViewById(R.id.mv);
错误 - 无法从视图投射到地图视图和行断点:MainActivity[line:__] -onCreate(Bundle)
我该如何修复它们?谢谢