java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.welcome.dem/com.example.welcome.dem.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout

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 Dinesh Kumar
, 6 months ago
Unable to start activity ComponentInfo{com.example.welcome.dem/com.example.welcome.dem.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout
via Stack Overflow by Peter Rojs
, 5 months ago
Unable to start activity ComponentInfo{us.rojs.360project/us.rojs.360project.MainActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout
via Stack Overflow by Stefano
, 6 months ago
Unable to start activity ComponentInfo{com.quintabi.facchini.myshop/com.quintabi.facchini.myshop.index}: android.view.InflateException: Binary XML file line #11: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout
via Stack Overflow by chirag panchal
, 1 year ago
Unable to start activity ComponentInfo{com.example.admin.fragmentsmemecreator23/com.example.admin.fragmentsmemecreator23.MainActivity}: android.view.InflateException: Binary XML file line #24: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>
via Stack Overflow by Steve
, 5 hours ago
Unable to start activity ComponentInfo{apps.harry.myapplication/apps.harry.myapplication.MainActivity}: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class android.support.constraint.ConstraintLayout
via Stack Overflow by Muhammad Al-kady
, 1 year ago
Unable to start activity ComponentInfo{muhammad.ibrahim.alkady.al_quran_al_kareem.radio/muhammad.ibrahim.alkady.al_quran_al_kareem.radio.activities.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #126: Binary XML file line #126: Error inflating class muhammad.ibrahim.alkady.al_quran_al_kareem.radio.widget.MiniMediaController
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.welcome.dem/com.example.welcome.dem.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)

Users with the same issue

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

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