android.view.InflateException: Binary XML file line #45: Error inflating class

Google Groups | uchitomo | 5 years 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

    【質問】Cleanで直らないResources$NotFoundExceptionの解決策について

    Google Groups | 5 years ago | uchitomo
    android.view.InflateException: Binary XML file line #45: Error inflating class
  2. 0

    selectableItemBackground crashing App

    Stack Overflow | 3 years ago | StackOverflowError
    java.lang.RuntimeException: Unable to start activity ComponentInfo{yai.properti.tujuh.tujuh.tujuh/yai.properti.tujuh.tujuh.tujuh.WelcomeActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class android.widget.ImageButton
  3. 0

    App beendet sich nach Klick auf Filter in Einstellungen

    GitHub | 2 years ago | NIPE-SYSTEMS
    java.lang.RuntimeException: Unable to start activity ComponentInfo{de.gebatzens.ggvertretungsplan/de.gebatzens.ggvertretungsplan.FilterActivity}: android.view.InflateException: Binary XML file line #92: Error inflating class android.widget.ImageButton
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why Images getting crushed often?

    Stack Overflow | 6 months ago | surya
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ppc.meetclrseng/com.ppc.kq.meetclrseng.MoreApps}: android.view.InflateException: Binary XML file line #29: Error inflating class <unknown>
  6. 0

    Error inflating class android.widget.ImageButton

    Stack Overflow | 4 years ago | Coma White
    android.view.InflateException: Binary XML file line #19: Error inflating class android.widget.ImageButton

    4 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. java.lang.NullPointerException

      No message provided

      at android.graphics.drawable.DrawableContainer$DrawableContainerState.addChild()
    2. Android Platform
      ImageButton.<init>
      1. android.graphics.drawable.DrawableContainer$DrawableContainerState.addChild(DrawableContainer.java:349)
      2. android.graphics.drawable.StateListDrawable$StateListState.addStateSet(StateListDrawable.java:267)
      3. android.graphics.drawable.StateListDrawable.inflate(StateListDrawable.java:175)
      4. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:787)
      5. android.graphics.drawable.Drawable.createFromXml(Drawable.java:728)
      6. android.content.res.Resources.loadDrawable(Resources.java:1936)
      7. android.content.res.TypedArray.getDrawable(TypedArray.java:653)
      8. android.view.View.<init>(View.java:1961)
      9. android.widget.ImageView.<init>(ImageView.java:112)
      10. android.widget.ImageButton.<init>(ImageButton.java:85)
      11. android.widget.ImageButton.<init>(ImageButton.java:81)
      11 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:415)
      2 frames
    4. Android Platform
      LayoutInflater.createView
      1. android.view.LayoutInflater.createView(LayoutInflater.java:505)
      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.createViewFromTag(LayoutInflater.java:568)
      2. android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
      4. android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
      5. android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
      6. android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
      7. android.view.LayoutInflater.inflate(LayoutInflater.java:408)
      8. android.view.LayoutInflater.inflate(LayoutInflater.java:320)
      9. android.view.LayoutInflater.inflate(LayoutInflater.java:276)
      9 frames
    7. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:209)
      1 frame
    8. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:1663)
      1 frame
    9. me.Testapp.android
      TestappMenu.onCreate
      1. me.Testapp.android.TestappMenu.onCreate(TestappMenu.java:118)
      1 frame
    10. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
      2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
      3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
      4. android.app.ActivityThread.access$1500(ActivityThread.java:117)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
      6. android.os.Handler.dispatchMessage(Handler.java:99)
      7. android.os.Looper.loop(Looper.java:123)
      8. android.app.ActivityThread.main(ActivityThread.java:3691)
      8 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:507)
      2 frames
    12. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
      2 frames
    13. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame