android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>

  1. 0

    Android app- custom dialog is not working when clicked from a button in titlebar

    Stack Overflow | 4 months ago | Pankaj Bhardwaj
    android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
  2. 0

    ato sunarto - Google+

    google.com | 1 year ago
    android.view.InflateException: Binary XML file line #8: Error inflating class <unknown>
  3. 0

    Android FATAL EXCEPTION: main and more

    Stack Overflow | 1 year ago | Gothic Daizemberg
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.tp2/com.example.tp2.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.RelativeLayout
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unfortunately (AppName) has stopped working in Emulator

    Stack Overflow | 10 months ago | Surender Harsha
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.HJ.calculator/com.HJ.calculator.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.RelativeLayout
  6. 0

    Failed to convert @color/yellow into a drawable when setting background color

    Stack Overflow | 1 year ago | user3847117
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vroy.bb_exercise/com.vroy.bb_exercise.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.RelativeLayout

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. android.content.res.Resources$NotFoundException

      Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f020056 a=-1 r=0x7f020056}

      at android.content.res.Resources.loadDrawable()
    2. Android Platform
      RelativeLayout.<init>
      1. android.content.res.Resources.loadDrawable(Resources.java:1927)
      2. android.content.res.TypedArray.getDrawable(TypedArray.java:601)
      3. android.view.View.<init>(View.java:3330)
      4. android.view.View.<init>(View.java:3259)
      5. android.view.ViewGroup.<init>(ViewGroup.java:425)
      6. android.widget.RelativeLayout.<init>(RelativeLayout.java:210)
      6 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
      2 frames
    4. Android Platform
      LayoutInflater.createView
      1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
      1 frame
    5. Android
      PhoneLayoutInflater.onCreateView
      1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
      1 frame
    6. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:466)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
      5 frames
    7. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)
      1 frame
    8. Android Platform
      Dialog.setContentView
      1. android.app.Dialog.setContentView(Dialog.java:471)
      1 frame
    9. dhritiapps.tulsiramayan
      ActivityName.onOptionsItemSelected
      1. dhritiapps.tulsiramayan.ActivityName.onOptionsItemSelected(ActivityName.java:423)
      1 frame
    10. Android Platform
      Activity.onMenuItemSelected
      1. android.app.Activity.onMenuItemSelected(Activity.java:2548)
      1 frame
    11. Android Support v4
      FragmentActivity.onMenuItemSelected
      1. android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:412)
      1 frame
    12. Android v7
      ActionMenuView$MenuBuilderCallback.onMenuItemSelected
      1. android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:188)
      2. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)
      3. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)
      4. android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69)
      5. android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:202)
      6. android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:761)
      6 frames
    13. android.support.v7
      MenuBuilder.performItemAction
      1. android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:810)
      2. android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
      3. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:957)
      4. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:947)
      4 frames
    14. Android v7
      ActionMenuView.invokeItem
      1. android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:618)
      1 frame
    15. android.support.v7
      ActionMenuItemView.onClick
      1. android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:153)
      1 frame
    16. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:4204)
      2. android.view.View$PerformClick.run(View.java:17355)
      3. android.os.Handler.handleCallback(Handler.java:725)
      4. android.os.Handler.dispatchMessage(Handler.java:92)
      5. android.os.Looper.loop(Looper.java:137)
      6. android.app.ActivityThread.main(ActivityThread.java:5041)
      6 frames
    17. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    18. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
      2 frames
    19. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame