android.view.InflateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 95#251914607
    via GitHub by ankitjain24x7
    ,
    • android.view.InflateException: Binary XML file line #44: Binary XML file line #44: Error inflating class app.com.autovideosample.exoPlayer.ExoVideoView Unable to understand and in xml also it shows : The following classes could not be instantiated: - app.com.autovideosample.exoPlayer.ExoVideoView (Open Class, Show Exception, Clear Cache) Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE. If this is an unexpected error you can also try to build the project, then manually refresh the layout. Exception Details java.lang.NullPointerException at com.google.android.exoplayer2.util.Util.getUserAgent(Util.java:677) at app.com.autovideosample.exoPlayer.ExoVideoView.buildHttpDataSourceFactory(ExoVideoView.java:449) at app.com.autovideosample.exoPlayer.ExoVideoView.buildDataSourceFactory(ExoVideoView.java:445) at app.com.autovideosample.exoPlayer.ExoVideoView.buildDataSourceFactory(ExoVideoView.java:429) at app.com.autovideosample.exoPlayer.ExoVideoView.<init>(ExoVideoView.java:178) at app.com.autovideosample.exoPlayer.ExoVideoView.<init>(ExoVideoView.java:154) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727) at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:858) at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70) at android.view.LayoutInflater.rInflate(LayoutInflater.java:834) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821) at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
    No Bugmate found.