java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nabeelfarooq.mapsnavapplication/com.example.nabeelfarooq.mapsnavapplication.MainActivity}: android.view.InflateException: Binary XML file line #12: 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 Stack Overflow by Farhan
, 1 year ago
Unable to start activity ComponentInfo{com.example.nabeelfarooq.mapsnavapplication/com.example.nabeelfarooq.mapsnavapplication.MainActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
via GitHub by arieleden
, 3 months ago
Unable to start activity ComponentInfo{com.hfad.workout/com.hfad.workout.MainActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
via GitHub by Aeonitis
, 1 year ago
Unable to start activity ComponentInfo{com.lh.android/com.lh.android.MainActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
via Stack Overflow by Arutha
, 1 year ago
Unable to start activity ComponentInfo{com.example.app/com.example.app.PersonalityTestFlow.SurveyMainFragment}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
via Stack Overflow by gaurav21
, 1 year ago
Unable to start activity ComponentInfo{com.strings.mapsdisplay/com.strings.mapsdisplay.Mapclass}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
via Stack Overflow by user3638095
, 2 years ago
Unable to start activity ComponentInfo{com.example.android.slidingtabsbasic/com.example.android.slidingtabsbasic.DetailsActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nabeelfarooq.mapsnavapplication/com.example.nabeelfarooq.mapsnavapplication.MainActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class fragment
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:763)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:916)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:802)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:916)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:802)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:256)
at com.example.nabeelfarooq.mapsnavapplication.MainActivity.onCreate(MainActivity.java:59)
at android.app.Activity.performCreate(Activity.java:5966)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)

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.