I got this error when try Init this package like in the documentations:
It's work on iOS, but in Android crash.
Can you give me solution?
E/AndroidRuntime(15749): java.lang.AbstractMethodError: abstract method "java.lang.CharSequence com.google.android.exoplayer2.ui.PlayerNotificationManager$MediaDescriptionAdapter.getCurrentContentTitle(com.google.android.exoplayer2.Player)"
E/AndroidRuntime(15749): at com.google.android.exoplayer2.ui.PlayerNotificationManager.createNotification(PlayerNotificationManager.java:1189)
E/AndroidRuntime(15749): at com.google.android.exoplayer2.ui.PlayerNotificationManager.startOrUpdateNotification(PlayerNotificationManager.java:1066)
E/AndroidRuntime(15749): at com.google.android.exoplayer2.ui.PlayerNotificationManager.handleMessage(PlayerNotificationManager.java:1329)
E/AndroidRuntime(15749): at com.google.android.exoplayer2.ui.PlayerNotificationManager.lambda$ZG0s-7uOzb-YtyUlp8ahx3j4wBg(Unknown Source:0)
E/AndroidRuntime(15749): at com.google.android.exoplayer2.ui.-$$Lambda$PlayerNotificationManager$ZG0s-7uOzb-YtyUlp8ahx3j4wBg.handleMessage(Unknown Source:2)
E/AndroidRuntime(15749): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(15749): at android.os.Looper.loop(Looper.java:236)
E/AndroidRuntime(15749): at android.app.ActivityThread.main(ActivityThread.java:8043)
E/AndroidRuntime(15749): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(15749): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620)
E/AndroidRuntime(15749): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011)
I got this error when try Init this package like in the documentations: It's work on iOS, but in Android crash. Can you give me solution?
E/AndroidRuntime(15749): java.lang.AbstractMethodError: abstract method "java.lang.CharSequence com.google.android.exoplayer2.ui.PlayerNotificationManager$MediaDescriptionAdapter.getCurrentContentTitle(com.google.android.exoplayer2.Player)" E/AndroidRuntime(15749): at com.google.android.exoplayer2.ui.PlayerNotificationManager.createNotification(PlayerNotificationManager.java:1189) E/AndroidRuntime(15749): at com.google.android.exoplayer2.ui.PlayerNotificationManager.startOrUpdateNotification(PlayerNotificationManager.java:1066) E/AndroidRuntime(15749): at com.google.android.exoplayer2.ui.PlayerNotificationManager.handleMessage(PlayerNotificationManager.java:1329) E/AndroidRuntime(15749): at com.google.android.exoplayer2.ui.PlayerNotificationManager.lambda$ZG0s-7uOzb-YtyUlp8ahx3j4wBg(Unknown Source:0) E/AndroidRuntime(15749): at com.google.android.exoplayer2.ui.-$$Lambda$PlayerNotificationManager$ZG0s-7uOzb-YtyUlp8ahx3j4wBg.handleMessage(Unknown Source:2) E/AndroidRuntime(15749): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(15749): at android.os.Looper.loop(Looper.java:236) E/AndroidRuntime(15749): at android.app.ActivityThread.main(ActivityThread.java:8043) E/AndroidRuntime(15749): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(15749): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620) E/AndroidRuntime(15749): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011)
@Sithira