title: Xamarin No resource found that matches the given name (at 'theme' with value '@style/DesignTheme'). App1.Droid
body: <p>I am new to Xamarin. So I started a shared project. Then I google some link to add material design and did the following.</p>
  
  <ol>
  <li><p>I created the styles.xml.(I dont understand why the resources/value folder is not seen in visual studio but when I manually go the directory I could see so I created manually in there with the following content.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ? &gt;
  &lt;resources&gt;
      &lt;style name="DesignTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
          &lt;item name="windowNoTitle" &gt;true &lt;/item &gt;
          &lt;item name="windowActionBar" &gt;false &lt;/item &gt;
          &lt;item name="colorPrimary" &gt;@color/primary &lt;/item &gt;
          &lt;item name="colorPrimaryDark" &gt;@color/primary_dark &lt;/item &gt;
          &lt;item name="colorAccent" &gt;@color/accent &lt;/item &gt; 
      &lt;/style &gt;
  &lt;/resources &gt;
  </code></pre></li>
  <li><p>Next I change the manifest as below.I added this android:theme="@style/DesignTheme"   </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;uses-sdk android:minSdkVersion="15" /&gt;
      &lt;application android:label="App1.Droid" android:theme="@style/DesignTheme"&gt;&lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre></li>
  <li><p>I just tried to build and I got this error No resource found that matches the given name (at 'theme' with value '@style/DesignTheme'). but the manifest shows this now. Why is it different then in step 2?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="App1.Droid"&gt;
      &lt;!--suppress UsesMinSdkAttributes--&gt;
      &lt;uses-sdk android:minSdkVersion="15" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;application android:label="App1.Droid" android:theme="@style/DesignTheme" android:name="android.app.Application" android:allowBackup="true" android:icon="@drawable/icon" android:debuggable="true"&gt;
          &lt;activity android:configChanges="orientation|screenSize" android:icon="@drawable/icon" android:label="App1" android:name="md50170a25da682dd459b9251c65ebe3a7a.MainActivity"&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;provider android:name="mono.MonoRuntimeProvider" android:exported="false" android:initOrder="2147483647" android:authorities="App1.Droid.mono.MonoRuntimeProvider.__mono_init__" /&gt;
          &lt;!--suppress ExportedReceiver--&gt;
          &lt;receiver android:name="mono.android.Seppuku"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="mono.android.intent.action.SEPPUKU" /&gt;
                  &lt;category android:name="mono.android.intent.category.SEPPUKU.App1.Droid" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre></li>
  </ol>
  
  <p>The full error is .</p>
  
  <p>No resource found that matches the given name (at 'theme' with value '@style/DesignTheme'). App1.Droid  C:\Users\ns\Documents\Visual Studio 2015\Projects\App1\App1\App1.Droid\obj\Debug\android\manifest\AndroidManifest.xml</p>
  
  <pre><code>Under the Nuget Package Manager I can see the installed list shows this Xamarin.Android.Support.Design is installed for version v24.2.1
  </code></pre>