android.view.InflateException: Binary XML file line #17: Error inflating class android.support.v7.internal.view.menu.ExpandedMenuView

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by user3256145

Your xml configuration is invalid. Check it with an xml validator.

Solutions on the web

via Stack Overflow by Mukesh Y
, 1 year ago
Binary XML file line #17: Error inflating class android.support.v7.internal.view.menu.ExpandedMenuView
via Stack Overflow by Jeison Da Silva Pereira
, 2 years ago
Binary XML file line #17: Error inflating class com.android.internal.view.menu.ActionMenuItemView
via Google Groups by 朱爽, 1 year ago
Binary XML file line #2: Error inflating class com.google.android.gms.ads.formats.NativeAppInstallAdView
via Stack Overflow by Jad
, 2 years ago
Binary XML file line #17: Error inflating class com.android.internal.view.menu.ExpandedMenuView
via GitHub by BradleyRL
, 2 years ago
Binary XML file line #23: Error inflating class it.gmariotti.cardslib.library.view.CardView
via Stack Overflow by Tobias Weger
, 1 year ago
Binary XML file line #2: Error inflating class com.example.tobi.zoom_gallery.SquareCardView
android.view.InflateException: Binary XML file line #17: Error inflating class android.support.v7.internal.view.menu.ExpandedMenuView
at android.view.LayoutInflater.createView(LayoutInflater.java:613)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
at android.view.LayoutInflater.inflate(LayoutInflater.java:466)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.support.v7.internal.view.menu.ListMenuPresenter.getMenuView(ListMenuPresenter.java:102)
at android.support.v7.app.AppCompatDelegateImplV7$PanelFeatureState.getListMenuView(AppCompatDelegateImplV7.java:1908)
at android.support.v7.app.AppCompatDelegateImplV7.initializePanelContent(AppCompatDelegateImplV7.java:1203)
at android.support.v7.app.AppCompatDelegateImplV7.openPanel(AppCompatDelegateImplV7.java:1045)
at android.support.v7.app.AppCompatDelegateImplV7.onKeyUpPanel(AppCompatDelegateImplV7.java:1410)
at android.support.v7.app.AppCompatDelegateImplV7.onKeyUp(AppCompatDelegateImplV7.java:877)
at android.support.v7.app.AppCompatDelegateImplV7.dispatchKeyEvent(AppCompatDelegateImplV7.java:871)
at android.view.ViewRootImpl.deliverKeyEventPostIme(ViewRootImpl.java:4196)
at android.view.ViewRootImpl.handleImeFinishedEvent(ViewRootImpl.java:4139)
at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3199)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5427)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

2 times, 1 month ago
2 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
79 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.