I've seen others with a similar issue, but none of their solutions seemed to work for me. The Exception being thrown is:

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

map.axml:

```
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <LinearLayout
        android:id="@+id/top_map_layout"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <LinearLayout...>
            <CheckBox... />
        </LinearLayout>
        <LinearLayout...>
          <CheckBox... />
        </LinearLayout>
        <EditText.../>
    </LinearLayout>
    <fragment
        android:id="@+id/map"
        android:layout_below="@+id/top_map_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        class="com.google.android.gms.maps.MapFragment" />
</RelativeLayout>

```

My Activity class is inheriting `AppCompatActivity`.

BaseActivity.cs:

```
public abstract class BaseActivity : AppCompatActivity
{
    //...
}

```

MainActivity.cs:

```
[Activity(Label = "MyApp", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, Icon = "@drawable/Icon")]
public class MainActivity : BaseActivity
{
    //...
}

```

My Fragment is inheriting `Android.Support.V4.App.Fragment`.

```
public abstract class BaseFragment : Android.Support.V4.App.Fragment
{
    //...
}

```

And finally here is my map fragment where the exception is being thrown when trying to inflate:

```
public class LocationFragment : BaseFragment, IOnMapReadyCallback, GoogleMap.IOnMapLongClickListener
{
    //...
    public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
    {
        // exception thrown on following line
        return inflater.Inflate(Resource.Layout.map, container, false);
    }
}

```

I'm guessing this may have something to do with having a fragment within a fragment.

Edit 1:

Just to clarify that I do indeed have the correct information in my manifest, here is a snippet of it:

```
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" package="com.myPackage" android:versionCode="11" android:versionName="2.0">
  <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="21" />
  <application android:label="MyApp" android:icon="@drawable/Icon" android:theme="@style/MyTheme">
    <uses-library android:name="com.google.android.maps" />
    <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="itsasecret" />
    <meta-data android:name="com.google.android.geo.API_KEY" android:value="itsasecret" />
  </application>
</manifest>

```

I also took steps to verify that my API key is valid.

[![enter image description here](https://i.stack.imgur.com/Ssalq.png)](https://i.stack.imgur.com/Ssalq.png)

My key matches what is in my manifest. The package name matches up as well. I also verified the SHA1 by running `keytool -list -v -keystore "C:\Users\Jared\AppData\Local\Xamarin\Mono for Android\debug.keystore" -alias androiddebugkey -storepass android -keypass android`.