title: Crash: java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$layout
body: <p>Some users of my app are experiencing this crash, it appears to possibly be related to Samsung devices. Has anyone else experienced this issue and found a solution?</p>
  
  <pre><code>java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$layout
         at android.support.v7.app.ActionBarActivityDelegateBase.ensureSubDecor(ActionBarActivityDelegateBase.java:297)
         at android.support.v7.app.ActionBarActivityDelegateBase.setContentView(ActionBarActivityDelegateBase.java:225)
         at android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:102)
         at com.afollestad.impression.ui.MainActivity.onCreate(MainActivity.java:160)
         at android.app.Activity.performCreate(Activity.java:5451)
         at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2359)
         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2453)
         at android.app.ActivityThread.access$900(ActivityThread.java:173)
         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
         at android.os.Handler.dispatchMessage(Handler.java:102)
         at android.os.Looper.loop(Looper.java:136)
         at android.app.ActivityThread.main(ActivityThread.java:5579)
         at java.lang.reflect.Method.invokeNative(Method.java)
         at java.lang.reflect.Method.invoke(Method.java:515)
         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
         at dalvik.system.NativeStart.main(NativeStart.java)
  </code></pre>
  
  <p>Line 160 sets the Activity's content view. The content view is this:</p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:id="@+id/drawer_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context="com.afollestad.lessen.ui.MainActivity"
      android:fitsSystemWindows="true"&gt;
  
      &lt;LinearLayout
          android:orientation="vertical"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_height="wrap_content"
              android:layout_width="match_parent"
              android:minHeight="?attr/actionBarSize"
              android:background="?colorPrimary"
              app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
              app:popupTheme="?popup_theme" /&gt;
  
          &lt;FrameLayout
              android:id="@+id/content_frame"
              android:layout_width="match_parent"
              android:layout_height="match_parent" /&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;FrameLayout
          android:layout_width="@dimen/navigation_drawer_width"
          android:layout_height="match_parent"
          android:fitsSystemWindows="true"
          android:layout_gravity="start"&gt;
  
          &lt;fragment
              android:id="@+id/navigation_drawer"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:name="com.afollestad.impression.fragments.NavDrawerFragment"
              tools:layout="@layout/fragment_navdrawer"
              android:tag="NAV_DRAWER" /&gt;
  
      &lt;/FrameLayout&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>The fragment is a simple list fragment.</p>