java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app.danieltavares.teste/com.app.danieltavares.teste.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: 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 dfvt
, 1 year ago
Unable to start activity ComponentInfo{com.app.danieltavares.teste/com.app.danieltavares.teste.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class fragment
via Stack Overflow by Ankit Chhabra
, 1 year ago
Unable to start activity ComponentInfo: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
via Stack Overflow by feiti
, 10 months ago
Unable to start activity ComponentInfo{com.example.takemeout/com.takemeout.android.event.EventOverviewActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class fragment
via Stack Overflow by Santosh
, 1 year ago
Unable to start activity ComponentInfo{com.santossingh.readerslibrary/com.santossingh.readerslibrary.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class fragment
via GitHub by the4thfloor
, 4 months ago
Unable to start activity ComponentInfo{udacity.nanodegree.popularmovies.debug/udacity.nanodegree.popularmovies.ui.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.v7.widget.RecyclerView
via GitHub by satendra02
, 1 year ago
Unable to start activity ComponentInfo{com.photoeditorsdk.android.app/ly.img.android.ui.activities.PhotoEditorActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class layout
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app.danieltavares.teste/com.app.danieltavares.teste.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class fragment
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)

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.