java.lang.RuntimeException: Unable to start activityComponentInfo{com.abc.efg.plcapp/com.abc.efg.ghi.MainActivity}: android.view.InflateException: Binary XML file line #37: Error inflating class ImageView

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

    Vectors throwing Resources$NotFoundException after updating support library from 23.v to 24.v

    Stack Overflow | 4 months ago | Shivansh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{...MainActivity}: android.view.InflateException: Binary XML file line #54: Error inflating class ...BlaView
  2. 0

    app is crashin on 4.1.1

    GitHub | 11 months ago | rameshvoltella
    java.lang.RuntimeException: Unable to start activity android.view.InflateException: Binary XML file line #38: Error inflating class me.himanshusoni.chatmessageview.ChatMessageView
  3. 0

    Error inflating class EditText in Android Tablet version 4.4.2

    Stack Overflow | 4 months ago | Kapil Rajput
    java.lang.RuntimeException: Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #38: Error inflating class EditText android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    0.9.1 with ProGuard: InflateException

    GitHub | 7 months ago | dirkam
    java.lang.RuntimeException: Unable to start activity ComponentInfo{.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference
  6. 0

    Failed to get arguments in a Fragment

    Stack Overflow | 2 years ago | Brando
    java.lang.RuntimeException: Unable to start activity ComponentInfo{pe.com.mkella.simpleamp/pe.com.mkella.simpleamp.MainActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class fragment

    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. org.xmlpull.v1.XmlPullParserException

      Binary XML file line 1: invalid drawable tag vector

      at android.graphics.drawable.Drawable.createFromXmlInner()
    2. Android Platform
      ImageView.<init>
      1. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:877)
      2. android.graphics.drawable.Drawable.createFromXml(Drawable.java:818)
      3. android.content.res.Resources.loadDrawable(Resources.java:1915)
      4. android.content.res.TypedArray.getDrawable(TypedArray.java:601)
      5. android.widget.ImageView.<init>(ImageView.java:120)
      5 frames
    3. Android v7
      AppCompatDelegateImplV7.onCreateView
      1. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:57)
      2. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:53)
      3. android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)
      4. android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:963)
      5. android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:1022)
      5 frames
    4. Android Support v4
      LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView
      1. android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
      1 frame
    5. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:675)
      2. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
      3. android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
      4. android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
      5. android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
      6. android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
      7. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
      8. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
      9. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
      9 frames
    6. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:267)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:129)
      2 frames
    7. com.abc.efg
      MainActivity.onCreate
      1. com.abc.efg.ghi.MainActivity.onCreate(MainActivity.java:40)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5008)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
      5. android.app.ActivityThread.access$600(ActivityThread.java:130)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:4745)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame