java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hsports.practicefragments/com.example.hsports.practicefragments.MainActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: 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

Samebug tips

,

Create an empty public constructor in your code.

Solutions on the web

via Stack Overflow by shikher.mishra
, 1 year ago
Unable to start activity ComponentInfo{com.example.hsports.practicefragments/com.example.hsports.practicefragments.MainActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class fragment
via Stack Overflow by roberto tomás
, 1 year ago
Unable to start activity ComponentInfo{xyz.selfenrichment.robertotomas.three_two_one_rotate/xyz.selfenrichment.robertotomas.three_two_one_rotate.MainActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class fragment
via Stack Overflow by joker
, 1 year ago
Unable to start activity ComponentInfo{com.example.second.slidingnavigationexample2/com.example.second.slidingnavigationexample2.MainActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class listView
via Stack Overflow by user2819864
, 1 year ago
Unable to start activity ComponentInfo{com.example.myapp/com.example.myapp.ui.maintabscreen.MainTabbedActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class android.support.design.widget.NavigationView
via Stack Overflow by NoviceMi
, 6 months ago
Unable to start activity ComponentInfo{com.example.lenovo.makersbuilders5/com.example.lenovo.makersbuilders5.MainActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class android.support.design.widget.FloatingActionButton
via GitHub by Mathbl
, 1 year ago
Unable to start activity ComponentInfo{com.myapp.android/io.intercom.android.sdk.activities.IntercomMessengerActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #20: Error inflating class android.support.design.widget.CollapsingToolbarLayout
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hsports.practicefragments/com.example.hsports.practicefragments.MainActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #15: Error inflating class fragment
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

66 times, 3 weeks ago
Once, 2 months ago
33 times, 3 months ago
8 times, 3 months ago
468 times, 4 months ago

Write tip

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