java.lang.RuntimeException: Unable to start activity ComponentInfo{dextrosoft.com.schoolmobileapp/dextrosoft.com.schoolmobileapp.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class ImageView

Stack Overflow | Payal Garg | 8 months 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

    relative layout not inflating in navigation bar activity

    Stack Overflow | 8 months ago | Payal Garg
    java.lang.RuntimeException: Unable to start activity ComponentInfo{dextrosoft.com.schoolmobileapp/dextrosoft.com.schoolmobileapp.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class ImageView
  2. 0

    Error inflating class android.support.v7.widget.AppCompatImageView

    GitHub | 4 months ago | iman2420
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.iman.marashiquiz/com.special.MainActivity}: android.view.InflateException: Binary **XML file line #35: Error inflating class com.roughike.bottombar.BottomBar**
  3. 0

    VectorDrawable Resource not found on pre-lollipop devices

    GitHub | 2 years ago | slidenerd
    java.lang.RuntimeException: Unable to start activity ComponentInfo{materialtest.vivz.slidenerd.materialtest/materialtest.vivz.slidenerd.materialtest.VectorTestActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DatePickerDialog

    Stack Overflow | 5 years ago | peter_budo
    android.view.InflateException: Binary XML file line #48: Error inflating class android.widget.ImageView
  6. 0

    Cannot open survey activity on targetSdkVersion 21+

    GitHub | 2 years ago | allan1st
    java.lang.RuntimeException: Unable to start activity ComponentInfo{MY_PACKAGE_NAME/com.mixpanel.android.surveys.SurveyActivity}: android.view.InflateException: Binary XML file line #22: 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. android.content.res.Resources$NotFoundException

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

    at android.content.res.Resources.loadDrawable()
  2. Android Platform
    ImageView.<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:3393)
    4. android.widget.ImageView.<init>(ImageView.java:114)
    4 frames
  3. Android v7
    AppCompatImageView.<init>
    1. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:60)
    2. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:56)
    2 frames
  4. android.support.v7
    AppCompatViewInflater.createView
    1. android.support.v7.internal.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:98)
    1 frame
  5. Android v7
    AppCompatDelegateImplV7.onCreateView
    1. android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:926)
    2. android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:980)
    2 frames
  6. Android Support v4
    LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView
    1. android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
    1 frame
  7. 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
  8. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:257)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109)
    2 frames
  9. dextrosoft.com.schoolmobileapp
    MainActivity.onCreate
    1. dextrosoft.com.schoolmobileapp.MainActivity.onCreate(MainActivity.java:22)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5104)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2186)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2272)
    5. android.app.ActivityThread.access$600(ActivityThread.java:171)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1276)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:5216)
    9 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:798)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:565)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame