我无法为android项目导入MapView
} 我尝试导入以下内容: 导入com.google.android.maps.MapActivity我无法为android项目导入MapView,android,eclipse,google-maps,Android,Eclipse,Google Maps,} 我尝试导入以下内容: 导入com.google.android.maps.MapActivity 但当我输入com时google不会出现..您必须将map.jar添加到libs中。虽然它是在我们扩展MapActivity时自动添加的 您必须将map.jar添加到libs中。虽然它是在我们扩展MapActivity时自动添加的 1-转到项目属性 2-从android选项卡中,为您的目标平台选择Google API (对于2.2,选择谷歌API平台2.2和类似的东西) 我认为这可以解决问题1-转
但当我输入com时google不会出现..您必须将map.jar添加到libs中。虽然它是在我们扩展MapActivity时自动添加的 您必须将map.jar添加到libs中。虽然它是在我们扩展MapActivity时自动添加的 1-转到项目属性 2-从android选项卡中,为您的目标平台选择Google API (对于2.2,选择谷歌API平台2.2和类似的东西)
我认为这可以解决问题1-转到项目属性 2-从android选项卡中,为您的目标平台选择Google API (对于2.2,选择谷歌API平台2.2和类似的东西)
我认为这可以解决问题您是否将Google API设置为项目构建目标?项目-->属性..更改sdk??或者你的意思是什么?你把谷歌API设置为项目构建目标了吗?项目-->属性..更改sdk??或者你的意思是其他的吗?但是我选择了3.2作为我的SDKtanks的最大版本。但是我选择了3.2作为我的sdkKamal的最大版本。那没有告诉我任何事情。卡马尔。那没有告诉我任何事情
public class ActivityGoogleMaps extends MapActivity {// map view shows as an error
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}