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

GitHub | chenlong0530 | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Android: How to track down the origin of a InflateException?

    Stack Overflow | 7 years ago | Janusz
    android.view.InflateException: Binary XML file line #24: Error inflating class &lt;unknown&gt;
  2. 0

    How do I super impose transformed text on a bitmap created from resource and save as JPG?

    Stack Overflow | 5 years ago | 8oh8
    android.view.InflateException: Binary XML file line #24: Error inflating class &lt;unknown&gt;
  3. 0

    Why am I getting WIN DEATH: Window{45087aa8 com.gigabites.fortune/com.gigabites.fortune.BuildActivity paused=false} error?

    Stack Overflow | 5 years ago | 8oh8
    android.view.InflateException: Binary XML file line #24: Error inflating class &lt;unknown&gt;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android emulator crashes with FATAL EXCEPTION

    Stack Overflow | 2 years ago | Anand Amirtahraj
    android.view.InflateException: Binary XML file line #24: Error inflating class &lt;unknown&gt;
  6. 0

    GitHub comment 59#219301664

    GitHub | 10 months ago | Leon1108
    android.view.InflateException: Binary XML file line #40: Binary XML file line #40: Error inflating class <unknown>
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. java.lang.UnsupportedOperationException

    Failed to resolve attribute at index 35: TypedValue{t=0x2/d=0x1010059 a=-1}

    at android.content.res.TypedArray.getDrawable()
  2. Android Platform
    FrameLayout.<init>
    1. android.content.res.TypedArray.getDrawable(TypedArray.java:867)
    2. android.view.View.<init>(View.java:4371)
    3. android.view.ViewGroup.<init>(ViewGroup.java:599)
    4. android.widget.FrameLayout.<init>(FrameLayout.java:115)
    5. android.widget.FrameLayout.<init>(FrameLayout.java:110)
    6. android.widget.FrameLayout.<init>(FrameLayout.java:106)
    6 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    1 frame
  4. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:619)
    1 frame
  5. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
    1 frame
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:694)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762)
    3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
    5. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:515)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    8. android.view.LayoutInflater.inflate(LayoutInflater.java:374)
    8 frames
  7. Android
    PhoneWindow.getDecorView
    1. com.android.internal.policy.PhoneWindow.generateLayout(PhoneWindow.java:4092)
    2. com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:4164)
    3. com.android.internal.policy.PhoneWindow.getDecorView(PhoneWindow.java:2061)
    3 frames
  8. com.android.server
    PhoneWindowManager.addStartingWindow
    1. com.android.server.policy.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:2592)
    1 frame
  9. Android
    WindowManagerService$H.handleMessage
    1. com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:8324)
    1 frame
  10. Android Platform
    HandlerThread.run
    1. android.os.Handler.dispatchMessage(Handler.java:111)
    2. android.os.Looper.loop(Looper.java:207)
    3. android.os.HandlerThread.run(HandlerThread.java:61)
    3 frames
  11. Android
    ServiceThread.run
    1. com.android.server.ServiceThread.run(ServiceThread.java:46)
    1 frame