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
- 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:
- Created 7 years ago
- Comments:26 (13 by maintainers)
Top GitHub Comments
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
@brianwernick Thank you very much. I was referencing that
exomedia_ic_skip_previous_white
instead ofic_action_skip_previous
in my layout by mistake. I blame it on Android Studio ‘intellisense’ 😃