Implementing Google maps into xml file error?
<p>I am coding Google maps v2 into my app but have run into an error.
I have already included the API key in the manifest.</p>

<p>Whenever I click on "Map" from the list on the menu for my app the application crashes:
Below is the errors shown in LogCat:</p>

<pre><code>E/AndroidRuntime(2041): FATAL EXCEPTION: main
E/AndroidRuntime(2041): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.anonymous.anonymous1/com.anonymous.anonymous1.Activity_Map}: android.view.InflateException: Binary XML file line #3: Error inflating class fragment
</code></pre>

<p>This is the relevant Java and xml file:
<a href="http://pastebin.com/LkjrHkPy" rel="nofollow">http://pastebin.com/LkjrHkPy</a></p>

<p>Does anyone know how to resolve this error so i can see the map on my application?
I think it may have something to do with the xml containing a fragment.</p>

<p>Thank you for your time!</p>
