question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

android.view.InflateException: Binary XML file line #19: Error inflating class com.devbrackets.android.exomedia.ui.widget.EMVideoView

See original GitHub issue
  • I have verified there are no duplicate active or recent bugs, questions, or requests
Include the following:
  • ExoMedia version: 3.0.0
  • Device OS version: 4.4.2
  • Devide Manufacturer: LG
  • Device Name: LG G2 -PHONE_MODEL: LG-D802
Reproduction Steps
  1. play a video in LG G2 using exomedia
Expected Result

exomedia play the video.

Actual Result

exomedia throws an unhandled the exception. I have been able to produce this only in LG G2. on other devices works fine.

Full Stacktrace

Unable to start activity ComponentInfo{com.rashavas.appido.v069.release/com.milad.appido.ExoMedia.VideoViewActitivity}: android.view.InflateException: Binary XML file line #19: Error inflating class com.devbrackets.android.exomedia.ui.widget.EMVideoView dalvik.system.NativeStart in main com.android.internal.os.ZygoteInit in main at line 608 com.android.internal.os.ZygoteInit$MethodAndArgsCaller in run at line 792 java.lang.reflect.Method in invoke at line 515 java.lang.reflect.Method in invokeNative android.app.ActivityThread in main at line 5105 android.os.Looper in loop at line 136 android.os.Handler in dispatchMessage at line 102 android.app.ActivityThread$H in handleMessage at line 1200 android.app.ActivityThread in access$800 at line 139 android.app.ActivityThread in handleLaunchActivity at line 2250 android.app.ActivityThread in performLaunchActivity at line 2164 android.app.Instrumentation in callActivityOnCreate at line 1087 android.app.Activity in performCreate at line 5275 com.milad.appido.ExoMedia.VideoViewActitivity in onCreate at line 55 android.app.Activity in setContentView at line 1973 com.android.internal.policy.impl.PhoneWindow in setContentView at line 315 android.view.LayoutInflater in inflate at line 353 android.view.LayoutInflater in inflate at line 397 android.view.LayoutInflater in inflate at line 492 android.view.LayoutInflater in rInflate at line 745 android.view.LayoutInflater in parseInclude at line 839 android.view.LayoutInflater in rInflate at line 755 android.view.LayoutInflater in createViewFromTag at line 696 android.view.LayoutInflater in createView at line 594 java.lang.reflect.Constructor in newInstance at line 423 java.lang.reflect.Constructor in constructNative com.devbrackets.android.exomedia.ui.widget.EMVideoView in <init> at line 100 com.devbrackets.android.exomedia.ui.widget.EMVideoView in setup at line 614 com.devbrackets.android.exomedia.ui.widget.EMVideoView in readAttributes at line 636 com.devbrackets.android.exomedia.ui.widget.VideoControlsMobile in <init> at line 49 com.devbrackets.android.exomedia.ui.widget.VideoControls in <init> at line 166 com.devbrackets.android.exomedia.ui.widget.VideoControls in setup at line 614 android.view.View in inflate at line 17516 android.view.LayoutInflater in inflate at line 353 android.view.LayoutInflater in inflate at line 397 android.view.LayoutInflater in inflate at line 492 android.view.LayoutInflater in rInflate at line 758 android.view.LayoutInflater in rInflate at line 758 android.view.LayoutInflater in rInflate at line 755 android.view.LayoutInflater in createViewFromTag at line 694 android.view.LayoutInflater in onCreateView at line 669 com.android.internal.policy.impl.PhoneLayoutInflater in onCreateView at line 56 android.view.LayoutInflater in createView at line 594 java.lang.reflect.Constructor in newInstance at line 423 java.lang.reflect.Constructor in constructNative android.widget.ImageButton in <init> at line 83 android.widget.ImageButton in <init> at line 87 android.widget.ImageView in <init> at line 129 android.content.res.TypedArray in getDrawable at line 602 android.content.res.Resources in loadDrawable at line 2132 android.graphics.drawable.Drawable in createFromXml at line 877 android.graphics.drawable.Drawable in createFromXmlInner at line 933 Caused by: org.xmlpull.v1.XmlPullParserException (“Binary XML file line #1: invalid drawable tag vector”) dalvik.system.NativeStart in main com.android.internal.os.ZygoteInit in main at line 608 com.android.internal.os.ZygoteInit$MethodAndArgsCaller in run at line 792 java.lang.reflect.Method in invoke at line 515 java.lang.reflect.Method in invokeNative android.app.ActivityThread in main at line 5105 android.os.Looper in loop at line 136 android.os.Handler in dispatchMessage at line 102 android.app.ActivityThread$H in handleMessage at line 1200 android.app.ActivityThread in access$800 at line 139 android.app.ActivityThread in handleLaunchActivity at line 2250 android.app.ActivityThread in performLaunchActivity at line 2164 android.app.Instrumentation in callActivityOnCreate at line 1087 android.app.Activity in performCreate at line 5275 com.milad.appido.ExoMedia.VideoViewActitivity in onCreate at line 55 android.app.Activity in setContentView at line 1973 com.android.internal.policy.impl.PhoneWindow in setContentView at line 315 android.view.LayoutInflater in inflate at line 353 android.view.LayoutInflater in inflate at line 397 android.view.LayoutInflater in inflate at line 492 android.view.LayoutInflater in rInflate at line 745 android.view.LayoutInflater in parseInclude at line 839 android.view.LayoutInflater in rInflate at line 755 android.view.LayoutInflater in createViewFromTag at line 696 android.view.LayoutInflater in createView at line 594 java.lang.reflect.Constructor in newInstance at line 423 java.lang.reflect.Constructor in constructNative com.devbrackets.android.exomedia.ui.widget.EMVideoView in <init> at line 100 com.devbrackets.android.exomedia.ui.widget.EMVideoView in setup at line 614 com.devbrackets.android.exomedia.ui.widget.EMVideoView in readAttributes at line 636 com.devbrackets.android.exomedia.ui.widget.VideoControlsMobile in <init> at line 49 com.devbrackets.android.exomedia.ui.widget.VideoControls in <init> at line 166 com.devbrackets.android.exomedia.ui.widget.VideoControls in setup at line 614 android.view.View in inflate at line 17516 android.view.LayoutInflater in inflate at line 353 android.view.LayoutInflater in inflate at line 397 android.view.LayoutInflater in inflate at line 492 android.view.LayoutInflater in rInflate at line 758 android.view.LayoutInflater in rInflate at line 758 android.view.LayoutInflater in rInflate at line 755 android.view.LayoutInflater in createViewFromTag at line 694 android.view.LayoutInflater in onCreateView at line 669 com.android.internal.policy.impl.PhoneLayoutInflater in onCreateView at line 56 android.view.LayoutInflater in createView at line 594 java.lang.reflect.Constructor in newInstance at line 423 java.lang.reflect.Constructor in constructNative android.widget.ImageButton in <init> at line 83 android.widget.ImageButton in <init> at line 87 android.widget.ImageView in <init> at line 129 android.content.res.TypedArray in getDrawable at line 602 android.content.res.Resources in loadDrawable at line 2136 Caused by: android.content.res.Resources$NotFoundException (“File res/drawable-xxhdpi-v4/exomedia_ic_skip_previous_white.xml from drawable resource ID #0x7f02006b”) dalvik.system.NativeStart in main com.android.internal.os.ZygoteInit in main at line 608 com.android.internal.os.ZygoteInit$MethodAndArgsCaller in run at line 792 java.lang.reflect.Method in invoke at line 515 java.lang.reflect.Method in invokeNative android.app.ActivityThread in main at line 5105 android.os.Looper in loop at line 136 android.os.Handler in dispatchMessage at line 102 android.app.ActivityThread$H in handleMessage at line 1200 android.app.ActivityThread in access$800 at line 139 android.app.ActivityThread in handleLaunchActivity at line 2250 android.app.ActivityThread in performLaunchActivity at line 2164 android.app.Instrumentation in callActivityOnCreate at line 1087 android.app.Activity in performCreate at line 5275 com.milad.appido.ExoMedia.VideoViewActitivity in onCreate at line 55 android.app.Activity in setContentView at line 1973 com.android.internal.policy.impl.PhoneWindow in setContentView at line 315 android.view.LayoutInflater in inflate at line 353 android.view.LayoutInflater in inflate at line 397 android.view.LayoutInflater in inflate at line 492 android.view.LayoutInflater in rInflate at line 745 android.view.LayoutInflater in parseInclude at line 839 android.view.LayoutInflater in rInflate at line 755 android.view.LayoutInflater in createViewFromTag at line 696 android.view.LayoutInflater in createView at line 594 java.lang.reflect.Constructor in newInstance at line 423 java.lang.reflect.Constructor in constructNative com.devbrackets.android.exomedia.ui.widget.EMVideoView in <init> at line 100 com.devbrackets.android.exomedia.ui.widget.EMVideoView in setup at line 614 com.devbrackets.android.exomedia.ui.widget.EMVideoView in readAttributes at line 636 com.devbrackets.android.exomedia.ui.widget.VideoControlsMobile in <init> at line 49 com.devbrackets.android.exomedia.ui.widget.VideoControls in <init> at line 166 com.devbrackets.android.exomedia.ui.widget.VideoControls in setup at line 614 android.view.View in inflate at line 17516 android.view.LayoutInflater in inflate at line 353 android.view.LayoutInflater in inflate at line 397 android.view.LayoutInflater in inflate at line 492 android.view.LayoutInflater in rInflate at line 758 android.view.LayoutInflater in rInflate at line 758 android.view.LayoutInflater in rInflate at line 755 android.view.LayoutInflater in createViewFromTag at line 694 android.view.LayoutInflater in onCreateView at line 669 com.android.internal.policy.impl.PhoneLayoutInflater in onCreateView at line 56 android.view.LayoutInflater in createView at line 594 java.lang.reflect.Constructor in newInstance at line 423 java.lang.reflect.Constructor in constructNative Caused by: java.lang.reflect.InvocationTargetException dalvik.system.NativeStart in main com.android.internal.os.ZygoteInit in main at line 608 com.android.internal.os.ZygoteInit$MethodAndArgsCaller in run at line 792 java.lang.reflect.Method in invoke at line 515 java.lang.reflect.Method in invokeNative android.app.ActivityThread in main at line 5105 android.os.Looper in loop at line 136 android.os.Handler in dispatchMessage at line 102 android.app.ActivityThread$H in handleMessage at line 1200 android.app.ActivityThread in access$800 at line 139 android.app.ActivityThread in handleLaunchActivity at line 2250 android.app.ActivityThread in performLaunchActivity at line 2164 android.app.Instrumentation in callActivityOnCreate at line 1087 android.app.Activity in performCreate at line 5275 com.milad.appido.ExoMedia.VideoViewActitivity in onCreate at line 55 android.app.Activity in setContentView at line 1973 com.android.internal.policy.impl.PhoneWindow in setContentView at line 315 android.view.LayoutInflater in inflate at line 353 android.view.LayoutInflater in inflate at line 397 android.view.LayoutInflater in inflate at line 492 android.view.LayoutInflater in rInflate at line 745 android.view.LayoutInflater in parseInclude at line 839 android.view.LayoutInflater in rInflate at line 755 android.view.LayoutInflater in createViewFromTag at line 696 android.view.LayoutInflater in createView at line 594 java.lang.reflect.Constructor in newInstance at line 423 java.lang.reflect.Constructor in constructNative com.devbrackets.android.exomedia.ui.widget.EMVideoView in <init> at line 100 com.devbrackets.android.exomedia.ui.widget.EMVideoView in setup at line 614 com.devbrackets.android.exomedia.ui.widget.EMVideoView in readAttributes at line 636 com.devbrackets.android.exomedia.ui.widget.VideoControlsMobile in <init> at line 49 com.devbrackets.android.exomedia.ui.widget.VideoControls in <init> at line 166 com.devbrackets.android.exomedia.ui.widget.VideoControls in setup at line 614 android.view.View in inflate at line 17516 android.view.LayoutInflater in inflate at line 353 android.view.LayoutInflater in inflate at line 397 android.view.LayoutInflater in inflate at line 492 android.view.LayoutInflater in rInflate at line 758 android.view.LayoutInflater in rInflate at line 758 android.view.LayoutInflater in rInflate at line 755 android.view.LayoutInflater in createViewFromTag at line 694 android.view.LayoutInflater in onCreateView at line 669 com.android.internal.policy.impl.PhoneLayoutInflater in onCreateView at line 56 android.view.LayoutInflater in createView at line 620 Caused by: android.view.InflateException (“Binary XML file line #112: Error inflating class android.widget.ImageButton”) dalvik.system.NativeStart in main com.android.internal.os.ZygoteInit in main at line 608 com.android.internal.os.ZygoteInit$MethodAndArgsCaller in run at line 792 java.lang.reflect.Method in invoke at line 515 java.lang.reflect.Method in invokeNative android.app.ActivityThread in main at line 5105 android.os.Looper in loop at line 136 android.os.Handler in dispatchMessage at line 102 android.app.ActivityThread$H in handleMessage at line 1200 android.app.ActivityThread in access$800 at line 139 android.app.ActivityThread in handleLaunchActivity at line 2250 android.app.ActivityThread in performLaunchActivity at line 2164 android.app.Instrumentation in callActivityOnCreate at line 1087 android.app.Activity in performCreate at line 5275 com.milad.appido.ExoMedia.VideoViewActitivity in onCreate at line 55 android.app.Activity in setContentView at line 1973 com.android.internal.policy.impl.PhoneWindow in setContentView at line 315 android.view.LayoutInflater in inflate at line 353 android.view.LayoutInflater in inflate at line 397 android.view.LayoutInflater in inflate at line 492 android.view.LayoutInflater in rInflate at line 745 android.view.LayoutInflater in parseInclude at line 839 android.view.LayoutInflater in rInflate at line 755 android.view.LayoutInflater in createViewFromTag at line 696 android.view.LayoutInflater in createView at line 594 java.lang.reflect.Constructor in newInstance at line 423 java.lang.reflect.Constructor in constructNative Caused by: java.lang.reflect.InvocationTargetException dalvik.system.NativeStart in main com.android.internal.os.ZygoteInit in main at line 608 com.android.internal.os.ZygoteInit$MethodAndArgsCaller in run at line 792 java.lang.reflect.Method in invoke at line 515 java.lang.reflect.Method in invokeNative android.app.ActivityThread in main at line 5105 android.os.Looper in loop at line 136 android.os.Handler in dispatchMessage at line 102 android.app.ActivityThread$H in handleMessage at line 1200 android.app.ActivityThread in access$800 at line 139 android.app.ActivityThread in handleLaunchActivity at line 2250 android.app.ActivityThread in performLaunchActivity at line 2164 android.app.Instrumentation in callActivityOnCreate at line 1087 android.app.Activity in performCreate at line 5275 com.milad.appido.ExoMedia.VideoViewActitivity in onCreate at line 55 android.app.Activity in setContentView at line 1973 com.android.internal.policy.impl.PhoneWindow in setContentView at line 315 android.view.LayoutInflater in inflate at line 353 android.view.LayoutInflater in inflate at line 397 android.view.LayoutInflater in inflate at line 492 android.view.LayoutInflater in rInflate at line 745 android.view.LayoutInflater in parseInclude at line 839 android.view.LayoutInflater in rInflate at line 755 android.view.LayoutInflater in createViewFromTag at line 696 android.view.LayoutInflater in createView at line 620 Caused by: android.view.InflateException (“Binary XML file line #19: Error inflating class com.devbrackets.android.exomedia.ui.widget.EMVideoView”) dalvik.system.NativeStart in main com.android.internal.os.ZygoteInit in main at line 608 com.android.internal.os.ZygoteInit$MethodAndArgsCaller in run at line 792 java.lang.reflect.Method in invoke at line 515 java.lang.reflect.Method in invokeNative android.app.ActivityThread in main at line 5105 android.os.Looper in loop at line 136 android.os.Handler in dispatchMessage at line 102 android.app.ActivityThread$H in handleMessage at line 1200 android.app.ActivityThread in access$800 at line 139 android.app.ActivityThread in handleLaunchActivity at line 2250 android.app.ActivityThread in performLaunchActivity at line 2200 Caused by: java.lang.RuntimeException ("Unable to start activity ComponentInfo{com.rashavas.appido.v069.release/com.milad.appido.ExoMedia.VideoViewActitivity}: android.view.InflateException: Binary XML file line #19: Error inflating class com.devbracket…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:26 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
brianwernickcommented, Sep 18, 2016

I’m going to close this in the hopes that #313 has fixed the issue. If it doesn’t then lets open up a new issue

0reactions
tonywambacommented, Oct 23, 2017

@brianwernick Thank you very much. I was referencing that exomedia_ic_skip_previous_white instead of ic_action_skip_previous in my layout by mistake. I blame it on Android Studio ‘intellisense’ 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

android.view.InflateException: Binary XML file line #19
See at line 19 on xml file. TextView android:text="" attr is empty, if you want make it without text ... This line must...
Read more >
android.view.InflateException: Binary XML file line #2: Error ...
Caused by: android. view. InflateException : Binary XML file line #2: Error inflating class unknowntag... error inflating class unknown ...
Read more >
Binary XML file line Error inflating class ImageView in Android ...
InflateException : Binary XML file line | Error inflating class ImageViewfacebook page : https://www.facebook.com/Code-Prof-110511874050372/
Read more >
Error Inflating Mapview in Android Pie Device (Api Level 28)
Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class com.esri.android.map.MapView
Read more >
Error inflating class androidx.appcompat.widget.Toolbar
Android.Views.InflateException Binary XML file line #1 in layout/toolbar: Error inflating class androidx.appcompat.widget.Toolbar.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found