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

Solutions on the web53450

  • via Stack Overflow by Dinesh Kumar
    , 2 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
  • Unable to start activity ComponentInfo{com.example.audiophileradio.audiophileradio/com.example.audiophileradio.audiophileradio.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout
  • 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
  • Stack trace

    • 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) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    65 times, 2 weeks ago
    6 times, 2 weeks ago
    38 times, 1 month ago
    16 times, 7 months ago
    1047 times, 7 months ago
    104 more bugmates