java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.vietmytv_androidtv/com.example.vietmytv_androidtv.ui.MainActivity}: 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 Pangu
, 1 year ago
Unable to start activity ComponentInfo{com.example.vietmytv_androidtv/com.example.vietmytv_androidtv.ui.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class fragment
via Stack Overflow by SHUBHAM SHARMA
, 8 months ago
Unable to start activity ComponentInfo{com.example.shubham.news_app/com.example.shubham.news_app.PrefrenceActivity}: android.view.InflateException: Binary XML file line #2: 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
via Stack Overflow by Pepa Hruška
, 1 year ago
Unable to start activity ComponentInfo{cz.johrusk.testapp/cz.johrusk.testapp.MainActivity}: 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 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
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.vietmytv_androidtv/com.example.vietmytv_androidtv.ui.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class fragment
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

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

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