石田と申します
Google Maps API v2を使ったアプリを作っているのですが、実行すると以下のようなエラーが出てしまいます。
E/AndroidRuntime( 1396): java.lang.RuntimeException: Unable to start activity ComponentInfo{jp.tnct.overthere/jp.tnct.overthere.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
E/AndroidRuntime( 1396): Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
エラー元のXMLファイルです
<?xml version="1.0" encoding="utf-8"?>
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.SupportMapFragment" />
エラーを検索してみたりや他のチュートリアルも見てみたのですが、うまくいきません。
何が原因なのでしょうか?