java.lang.RuntimeException: Unable to start activity ComponentInfo{a.batteryalarm/a.batteryalarm.MainActivity}: android.view.InflateException: Binary XML file line #65: Error inflating class ImageView

Stack Overflow | I.Ardel | 6 days 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

    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

    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)
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error inflating NavigationView class -- android

    Stack Overflow | 8 months ago | Shudy
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.shudy.XXXXX/com.shudy.XXXXX.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
  6. 0

    Google map v2 application Show error

    Stack Overflow | 3 years ago | user3703052
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.please/com.example.please.MainActivity}: android.view.InflateException: Binary XML file line #3: 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:891)
    2. android.graphics.drawable.Drawable.createFromXml(Drawable.java:828)
    3. android.content.res.Resources.loadDrawable(Resources.java:1933)
    4. android.content.res.TypedArray.getDrawable(TypedArray.java:601)
    5. android.view.View.<init>(View.java:3345)
    6. android.widget.ImageView.<init>(ImageView.java:142)
    6 frames
  3. Android v7
    AppCompatDelegateImplV9.onCreateView
    1. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:60)
    2. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:56)
    3. android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)
    4. android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1021)
    5. android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1080)
    5 frames
  4. Android Support v4
    LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView
    1. android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:47)
    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.rInflate(LayoutInflater.java:749)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
    7 frames
  6. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
    2 frames
  7. a.batteryalarm
    MainActivity.onCreate
    1. a.batteryalarm.MainActivity.onCreate(MainActivity.java:46)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5082)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2122)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2192)
    5. android.app.ActivityThread.access$600(ActivityThread.java:147)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1287)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:5085)
    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:789)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame