title: Android "You need to use a Theme.AppCompat theme (or descendant) with the design library"
body: <p>Ok , im getting this error (title) .
  Many post suggested me (even Android studio) to change the theme , to App.Appcompat , i have done it .</p>
  
  <p>Manifest file :</p>
  
  <pre><code> &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:supportsRtl="true"
      android:theme="@style/Theme.AppCompat"&gt;
      &lt;activity
          android:name=".activity.MainActivity"
          android:label="@string/app_name"
          android:theme="@style/AppTheme.NoActionBar"&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=".activity.ContactAcitivty"
          android:label="@string/activity_title_contact" /&gt;
      &lt;activity
          android:name=".activity.CopyrightActivity"
          android:label="@string/activity_title_copyright" /&gt;
      &lt;activity android:name=".activity.FormActivity"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="info.androidhive.navigationdrawer.activity.FormActivity" /&gt;
  
                  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  
  &lt;/application&gt;
  </code></pre>
  
  <p>Style.xml</p>
  
  <pre><code>    &lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;!-- Customize your theme here. --&gt;
      &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/colorPrimaryDark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt;
      &lt;/style&gt;
      &lt;style name="AppTheme.NoActionBar"&gt;
      &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
      &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name="AppTheme.AppBarOverlay"  parent="ThemeOverlay.AppCompat.Dark.ActionBar" /&gt;
  &lt;style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" /&gt;
  </code></pre>
  
  <p>BUT still , nothing changed .</p>
  
  <p>I don't know what happened since i didn't had this problem before (i didn't add App.compat in the manifest file bfore)</p>
  
  <p>Gradle :</p>
  
  <pre><code>compile 'com.android.support:appcompat-v7:24.0.0-beta1'
  compile 'com.android.support:design:24.0.0-beta1'
  compile 'com.android.support:support-v4:24.0.0-beta1'
  compile 'com.github.bumptech.glide:glide:3.7.0'
  compile 'com.android.support.constraint:constraint-layout:+'
  testCompile 'junit:junit:4.12'
  </code></pre>
  
  <p>The Error log :</p>
  
  <pre><code>java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme     (or descendant) with the design library.    
  at android.support.design.widget.ThemeUtils.checkAppCompatTheme(ThemeUtils.java:36)     
  at android.support.design.widget.NavigationView.&lt;init&gt; (NavigationView.java:102)   
  at android.support.design.widget.NavigationView.&lt;init&gt;(NavigationView.java:96)   
  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)  
  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)         at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:858)           
  
  at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)  
  at android.view.LayoutInflater.rInflate(LayoutInflater.java:834)      
  at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
  at android.view.LayoutInflater.inflate(LayoutInflater.java:518)  
  at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
  </code></pre>
  
  <p> </p>
  
  <p>Thanks for your help</p>