Hi,

I am developing sample Google map application in Xamarin Andriod.
when I run this application it display this error.

"Android.Views.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class fragment"

main.axml:

Code
 xml version="1.0" encoding="utf-8"?>
Code
  xmlns:android="http://schemas.android.com/apk/res/android"
Code
 android:orientation="vertical"
Code
android:layout_width="fill_parent"
Code
 android:layout_height="fill_parent"
Code
 android:paddingTop="20dp"
Code
 android:paddingLeft="8dp"
Code
 android:paddingRight="8dp">
Code
 android:id="@+id/map"
Code
 android:layout_width="match_parent"
Code
 android:layout_height="match_parent"
Code
 class="com.google.andriod.gms.maps.MapFragment" />

mainActivity.cs::

namespace GMap
{
[Activity(Label = "GMap", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity, IOnMapReadyCallback
{
// private GoogleMap mMap;

Code
 protected override void OnCreate(Bundle bundle)
Code
 {
Code
 base.OnCreate(bundle);
Code
// Set our view from the "main" layout resource
Code
SetContentView(Resource.Layout.Main); //ERROR DISPLAY IN THIS LINE
Code
MapFragment mapfragment = (MapFragment)FragmentManager.FindFragmentById(Resource.Id.map);
Code
 mapfragment.GetMapAsync(this);
Code
 }
Code
public void OnMapReady(GoogleMap googleMap)
Code
{
Code
 MarkerOptions markerOption = new MarkerOptions();
Code
 markerOption.SetPosition(new LatLng(16.03, 108));
Code
 markerOption.SetTitle("My Position");
Code
googleMap.AddMarker(markerOption);
Code
}
Code
}

how solve this error..???