Missing styles. Is the correct theme chosen for this layout?
<p>Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style references. Failed to find style <code>mapViewStyle</code> in current theme.</p>

<p>I tried every solutions available to solve this problem but nothing seems to work. I have included library in the manifest file. I even created style is styles.xml, I have chosen Google Apis build target as well.  </p>

<p>Can somebody please give me a solution. Thank you in advance for your valuable time.</p>

<p>here is my <strong>xml</strong> file: </p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/AppTheme"
android:layout_width="fill_parent"
android:layout_height="fill_parent" &gt;


 &lt;com.google.android.maps.MapView
     android:id="@+id/themap"
     style="@style/mapViewStyle"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:apiKey="here i have my key"
     android:clickable="true"
     android:enabled="true" /&gt;

  &lt;/RelativeLayout&gt;   
</code></pre>

<p>Here is my <strong>manifest</strong> snippet: </p>

<pre><code>  &lt;uses-library android:name="com.google.android.maps" /&gt;

    &lt;activity
        android:name=".MainActivity"
        android:label="@string/title_activity_main" &gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;

            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
    &lt;activity android:name=".Second" /&gt;

    &lt;activity android:name=".Third"  android:theme="@android:style/Theme.Black"/&gt;
  &lt;/application&gt;
</code></pre>

<p>here is my <strong>style.xml</strong> file</p>

<pre><code>&lt;resources&gt;
    &lt;style name="mapViewStyle" parent="@android:style/Theme.Black"&gt;
    &lt;/style&gt;
&lt;/resources&gt;
</code></pre>
