title: appcompat-v7 v21.0.0 causing crash on Samsung devices with Android v4.2.2
body: <p>We just changed our application to use the <code>appcompat-v7 support</code> library in order to take advantage of the support actionbar and support Material themes. Using <code>v21.0.0 of appcompat-v7</code> (and<code>v21.0.0 of support-v4)</code>, we are now seeing crashes in <code>Google Play</code> and Crashlytics only from Samsung devices<code>running</code>Android v4.2.2<code>. Here is the stack trace from Google Play and the app appears to crash as soon as the</code>actionbar` is shown and/or invalidated.</p>
  
  <pre><code>java.lang.NoClassDefFoundError: android.support.v7.internal.view.menu.MenuBuilder
  at android.support.v7.app.ActionBarActivityDelegateBase.initializePanelMenu(ActionBarActivityDelegateBase.java:991)
  at android.support.v7.app.ActionBarActivityDelegateBase.preparePanel(ActionBarActivityDelegateBase.java:1041)
  at android.support.v7.app.ActionBarActivityDelegateBase.doInvalidatePanelMenu(ActionBarActivityDelegateBase.java:1259)
  at android.support.v7.app.ActionBarActivityDelegateBase.access$100(ActionBarActivityDelegateBase.java:80)
  at android.support.v7.app.ActionBarActivityDelegateBase$1.run(ActionBarActivityDelegateBase.java:116)
  at android.os.Handler.handleCallback(Handler.java:725)
  at android.os.Handler.dispatchMessage(Handler.java:92)
  at android.os.Looper.loop(Looper.java:176)
  at android.app.ActivityThread.main(ActivityThread.java:5299)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
  at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>Other devices and emulators running v4.2.2 do no exhibit this behavior. It's my understanding that many Google apps are already using this new version of <code>appcompat</code> to display the action bar. If these apps are not reporting crashes on these devices, it would be helpful to know how this is being avoided/fixed.</p>
  
  <p>I reported this as a bug to Google but it got closed with the reason that it is a development issue. Although I do agree this may be the case, I'm wondering if/how anyone is currently able to use <code>appcompat-v7 v21.0.0</code> and not get crashes on <code>Samsung 4.2.2 devices</code>.</p>
  
  <p>Update: It looks like Google is at least considering possible workarounds for this. See <a href="https://code.google.com/p/android/issues/detail?id=78377">this</a> for details.</p>