android.view.InflateException: Binary XML file line #35: Error inflating class ImageView > at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713) > at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) > at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) > at android.view.LayoutInflater.inflate(LayoutInflater.java:492) > at android.view.LayoutInflater.inflate(LayoutInflater.java:397) > at android.view.LayoutInflater.inflate(LayoutInflater.java:353) > at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276) > at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:136) > at com.yalantis.ucrop.UCropActivity.onCreate(UCropActivity.java:102) > at android.app.Activity.performCreate(Activity.java:5303) > at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1091) > at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2165) > at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2255)

GitHub | Lepinr | 4 months ago
  1. 0

    not work on android

    GitHub | 4 months ago | Lepinr
    android.view.InflateException: Binary XML file line #35: Error inflating class ImageView > at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713) > at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) > at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) > at android.view.LayoutInflater.inflate(LayoutInflater.java:492) > at android.view.LayoutInflater.inflate(LayoutInflater.java:397) > at android.view.LayoutInflater.inflate(LayoutInflater.java:353) > at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276) > at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:136) > at com.yalantis.ucrop.UCropActivity.onCreate(UCropActivity.java:102) > at android.app.Activity.performCreate(Activity.java:5303) > at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1091) > at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2165) > at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2255)
  2. 0

    App works well in android 5.1 and 6.1 but crashes in 4.10(API 16)

    Stack Overflow | 5 months ago | Rakesh Niranajan
    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 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084) at android.app.ActivityThread.access$600(ActivityThread.java:130) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4745) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #37: Error inflating class ImageView at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830) at android.view.LayoutInflater.rInflate(LayoutInflater.java:736) at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830) at android.view.LayoutInflater.rInflate(LayoutInflater.java:736) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.LayoutInflater.inflate(LayoutInflater.java:352) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:267) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:129) at com.ishttaa.rakesh.plcapp.MainActivity.onCreate(MainActivity.java:40) at android.app.Activity.performCreate(Activity.java:5008) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
  3. 0

    Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml

    Stack Overflow | 3 months ago | Armando Barreda
    android.content.res.Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml from drawable resource ID #0x7f020013 E/AndroidRuntime: at android.content.res.Resources.loadDrawable(Resources.java:1953) E/AndroidRuntime: at android.content.res.Resources.getDrawable(Resources.java:660) E/AndroidRuntime: at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:354) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:193) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:181) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:689) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:186) E/AndroidRuntime: at android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:77) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:83) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV7.<init>(AppCompatDelegateImplV7.java:146) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:28) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:41) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:193) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:173) E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:511) E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71) E/AndroidRuntime: at .MainActivity.onCreate(MainActivity.java:29) E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5104) E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1092) E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148) E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2254)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error inflating class android.support.v7.widget.Toolbar in Android 4.4.2

    Stack Overflow | 3 months ago | DivisinSi
    android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f02004f 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.content.res.Resources.loadDrawable(Resources.java:2152) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.content.res.Resources.getDrawable(Resources.java:710) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:346) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:194) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:182) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:717) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:187) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:77) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:127) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV9.<init>(AppCompatDelegateImplV9.java:147) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:27) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:50) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:201) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:181) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:521) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at com.gmail.saadbnwhd.mybudget.MainActivity.onCreate(MainActivity.java:16) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5343) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2343) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2441)
  6. 0

    GitHub comment 530#243573329

    GitHub | 3 months ago | b3nson
    android.content.res.Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml from drawable resource ID #0x7f020013 ? E/AndroidRuntime: at android.content.res.Resources.loadDrawable(Resources.java:2149) ? E/AndroidRuntime: at android.content.res.MiuiResources.loadDrawable(MiuiResources.java:348) ? E/AndroidRuntime: at android.content.res.Resources.loadDrawable(Resources.java:2072) ? E/AndroidRuntime: at android.content.res.Resources.getDrawable(Resources.java:710) ? E/AndroidRuntime: at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:346) ? E/AndroidRuntime: at de.luhmer.owncloudnewsreader.SettingsActivity.onCreate(SettingsActivity.java:146) ? E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5249) ? E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) ? E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2165) ? E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2250)

    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(Drawable.java:933) > at android.graphics.drawable.Drawable.createFromXml(Drawable.java:877) > at android.content.res.Resources.loadDrawable(Resources.java:2261) > at android.content.res.Resources.getDrawable(Resources.java:751)

      at android.support.v7.widget.ResourcesWrapper.getDrawable()
    2. Android v7
      TintResources.getDrawable
      1. android.support.v7.widget.ResourcesWrapper.getDrawable(ResourcesWrapper.java:128)
      2. android.support.v7.widget.TintResources.getDrawable(TintResources.java:45)
      2 frames
    3. Android Support v4
      ContextCompat.getDrawable
      1. android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:323)
      1 frame
    4. Android v7
      AppCompatDelegateImplV7.onCreateView
      1. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:201)
      2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:191)
      3. android.support.v7.widget.AppCompatImageHelper.loadFromAttributes(AppCompatImageHelper.java:49)
      4. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:65)
      5. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:53)
      6. android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:102)
      7. android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:972)
      8. android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:1030)
      8 frames
    5. Android Support v4
      LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView
      1. android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
      1 frame
    6. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:684)
      2. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
      6 frames
    7. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:136)
      2 frames
    8. com.yalantis.ucrop
      UCropActivity.onCreate
      1. com.yalantis.ucrop.UCropActivity.onCreate(UCropActivity.java:102)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5303)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1091)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2165)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2255)
      5. android.app.ActivityThread.access$800(ActivityThread.java:142)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:136)
      9. android.app.ActivityThread.main(ActivityThread.java:5217)
      9 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:818)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
      2 frames
    12. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame