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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openclassrooms.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.example.stphen.broketrip/com.example.stphen.broketrip.activity.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.mycompany.app/com.mycompany.app.activity_main}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
via Stack Overflow by Rupali Rana
, 1 year ago
Unable to start activity ComponentInfo{com.example.google/com.example.google.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
via Stack Overflow by Humty
, 10 months ago
Unable to start activity ComponentInfo{com.example.namal.fragments/com.example.namal.fragments.MainActivity}: android.view.InflateException: Binary XML file line #10: Error inflating class fragment
via Stack Overflow by georf
, 5 months ago
Unable to start activity ComponentInfo{com.foo.bar/com.sherdle.universal.rallye.rallye_activity}: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
via blogspot.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{http://ift.tt/1HYwsLW}: android.view.InflateException: Binary XML file line #1: Error inflating class fragment
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.stphen.broketrip/com.example.stphen.broketrip.activity.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:770)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:813)
at android.view.LayoutInflater.inflate(LayoutInflater.java:511)
at android.view.LayoutInflater.inflate(LayoutInflater.java:415)
at android.view.LayoutInflater.inflate(LayoutInflater.java:366)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:256)
at com.example.stphen.broketrip.activity.MainActivity.onCreate(MainActivity.java:52)
at android.app.Activity.performCreate(Activity.java:6289)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 2 months ago

Write tip

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