title: NavigationView throwing error: No resource identifier found for attribute 'menu' in package
body: <p>I am trying to add NavigationView in my layout as below:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"&gt;
  
  
      &lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:fitsSystemWindows="true"&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/hello_world" /&gt;
  
          &lt;android.support.design.widget.NavigationView
              xmlns:app="http://schemas.android.com/apk/res-auto"
              xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:layout_gravity="start"
              app:menu="@menu/drawer" /&gt;
  
      &lt;/android.support.v4.widget.DrawerLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>But the problem is I am getting an error during compile as below:</p>
  
  <pre><code>C:\Users\IBM_ADMIN\Documents\Androidprojects\supporttest\app\src\main\res\layout\activity_main.xml
  Error:(22) No resource identifier found for attribute 'menu' in package 'ranjithnair02.com.supporttest'
  Error:Execution failed for task ':app:processDebugResources'.
  &gt; com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\IBM_ADMIN\Documents\android-studio\sdk\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1
  Information:BUILD FAILED
  </code></pre>
  
  <p>I have added the menu item in menu/drawer.xml.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      tools:context=".MainActivity"&gt;
  
      &lt;group android:checkableBehavior="single"&gt;
  
          &lt;item
              android:id="@+id/navigation_item_1"
              android:checked="true"
              android:icon="@drawable/abc_tab_indicator_mtrl_alpha"
              android:title="First" /&gt;
  
          &lt;item
              android:id="@+id/navigation_item_2"
              android:icon="@drawable/abc_btn_check_material"
              android:title="Second" /&gt;
        &lt;/group&gt;
  &lt;/menu&gt;
  </code></pre>