Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JWPlayerFragment not showing and the app is crashed


FATAL EXCEPTION: main
Process: com.bredeemedtv.app, PID: 8472
java.lang.NoSuchMethodError: No virtual method register()Lcom/google/android/exoplayer/audio/AudioCapabilities; in class Lcom/google/android/exoplayer/audio/AudioCapabilitiesReceiver; or its super classes (declaration of 'com.google.android.exoplayer.audio.AudioCapabilitiesReceiver' appears in /data/data/com.bredeemedtv.app/files/instant-run/dex/slice-exoplayer_565d2ff1739f9d65b14a0bdf6b741d39daa03176-classes.dex)
at com.longtailvideo.jwplayer.c.e.<init>(SourceFile:217)
at com.longtailvideo.jwplayer.core.g.a(SourceFile:171)
at com.longtailvideo.jwplayer.JWPlayerView.a(SourceFile:220)
at com.longtailvideo.jwplayer.JWPlayerView.<init>(SourceFile:191)
at com.longtailvideo.jwplayer.JWPlayerFragment.onCreate(SourceFile:114)
at android.app.Fragment.performCreate(Fragment.java:2242)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:947)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1163)
at android.app.BackStackRecord.run(BackStackRecord.java:793)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1552)
at android.app.FragmentController.execPendingActions(FragmentController.java:325)
at android.app.Activity.performStart(Activity.java:6914)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3216)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
at android.app.ActivityThread.access$1100(ActivityThread.java:221)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

1 Community Answers

George

JW Player Support Agent  
0 rated :

For me to reproduce this issue reliably I will need this information about your application:

Android API Build level (16,17… 22):
JW Player SDK for Android version number:
Device make and model where you are experiencing this issue:
Provide step by step instructions on how to reproduce your issue:
JW Player Demo Application Source Code that is also experiencing the issue:

As the last field suggests, please replicate this issue using the JW Player Demo Application and send us a link to a zipped version of the entire Android Studio Project for testing which can be found here:
https://github.com/jwplayer/jwplayer-sdk-android-demo

This question has received the maximum number of answers.