android.view.InflateException: Binary XML file line #24: Binary XML file line # 2: Error inflating class android.widget.RelativeLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2476) at android.app.ActivityThread. - wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java: 1344) at android.os.Handler.dispatchMessage(Handler.java: 102) at android.os.Looper.loop(Looper.java: 148) at android.app.ActivityThread.main(ActivityThread.java: 5417)

Stack Overflow | hwhong | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android Development, error with setcontentview code

    Stack Overflow | 8 months ago | hwhong
    android.view.InflateException: Binary XML file line #24: Binary XML file line # 2: Error inflating class android.widget.RelativeLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2476) at android.app.ActivityThread. - wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java: 1344) at android.os.Handler.dispatchMessage(Handler.java: 102) at android.os.Looper.loop(Looper.java: 148) at android.app.ActivityThread.main(ActivityThread.java: 5417)
  2. 0

    Error inflating class fragment While testing out fragment Activity

    Stack Overflow | 7 months ago | Chief Madog
    android.view.InflateException: Binary XML file line #19: Binary XML file line # 19: Error inflating class fragment at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 3253) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 3349) at android.app.ActivityThread.access$1100(ActivityThread.java: 221) at android.app.ActivityThread$H.handleMessage(ActivityThread.java: 1794) at android.os.Handler.dispatchMessage(Handler.java: 102) at android.os.Looper.loop(Looper.java: 158) at android.app.ActivityThread.main(ActivityThread.java: 7224)

    Root Cause Analysis

    1. android.view.InflateException

      Binary XML file line #24: Binary XML file line # 2: Error inflating class android.widget.RelativeLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2476) at android.app.ActivityThread. - wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java: 1344) at android.os.Handler.dispatchMessage(Handler.java: 102) at android.os.Looper.loop(Looper.java: 148) at android.app.ActivityThread.main(ActivityThread.java: 5417)

      at java.lang.reflect.Method.invoke()
    2. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame