java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ovidioreyna.android.newsreportapp/com.ovidioreyna.android.newsreportapp.SettingsActivity}: 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 Ovidio Reyna
, 1 year ago
Unable to start activity ComponentInfo{com.ovidioreyna.android.newsreportapp/com.ovidioreyna.android.newsreportapp.SettingsActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class fragment
via Stack Overflow by Ovidio Reyna
, 1 year ago
Unable to start activity ComponentInfo{com.ovidioreyna.android.newsreportapp/com.ovidioreyna.android.newsreportapp.SettingsActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class fragment
via Stack Overflow by dennisgon
, 1 year ago
Unable to start activity ComponentInfo{com.example.dennis.peta/com.example.dennis.peta.MapsActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class fragment
via Stack Overflow by chirag panchal
, 1 year ago
Unable to start activity ComponentInfo{com.example.admin.fragmentsmemecreator23/com.example.admin.fragmentsmemecreator23.MainActivity}: android.view.InflateException: Binary XML file line #24: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
via Stack Overflow by user2125673
, 2 years ago
Unable to start activity ComponentInfo{com.android.maptest/com.android.maptest.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
via Stack Overflow by Garysully1986
, 1 year ago
Unable to start activity ComponentInfo{components.hfad.com.components/components.hfad.com.components.DetailActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class fragment
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ovidioreyna.android.newsreportapp/com.ovidioreyna.android.newsreportapp.SettingsActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class fragment
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2426)

Users with the same issue

32 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
3 times, 10 months ago
144 times, 1 year ago
Once, 1 year ago
109 more bugmates

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