Androidスタジオを使用して、Googleマップv2をAndroidで動作させようとしています。すべてのキーとマニフェストのセットアップを取得しました。マップが表示される実際のアクティビティの xml を作成しようとすると、エラーが発生します。私のxmlは次のようになります:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.SupportMapFragment"/>
</RelativeLayout>
Androidスタジオでの私のエラーは次のようになります: