android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class fragment

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

Solutions on the web

via Stack Overflow by Spud
, 1 year ago
Binary XML file line #2: Binary XML file line #2: Error inflating class fragment
via Stack Overflow by Ewelina
, 5 months ago
Binary XML file line #2: Binary XML file line #2: Error inflating class
via GitHub by chenkezhao
, 7 months ago
Binary XML file line #25: Binary XML file line #34: Error inflating class ImageView
via Stack Overflow by Shailesh Limbadiya
, 11 months ago
Binary XML file line #148: Binary XML file line #148: Error inflating class android.support.design.widget.FloatingActionButton
via GitHub by smail2133
, 1 month ago
Binary XML file line #2: Binary XML file line #2: Error inflating class fragment
via Stack Overflow by ghiltanas
, 1 year ago
Binary XML file line #28: Binary XML file line #28: Error inflating class com.marcocreation.*******.DrawingView
android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class fragment
at android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2422)
at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:186)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at com.spudgmail.rethy.spud.SpudMapFragment.onCreateView(SpudMapFragment.java:62)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:2080)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1108)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1290)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:801)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1677)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4 times, 1 year ago
3 more bugmates

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