본문 바로가기

OS/Android

exoplayer rtmp error(java.lang.AbstractMethodError)

반응형

오류내용

java.lang.AbstractMethodError: abstract method "void com.google.android.exoplayer2.upstream.DataSource.addTransferListener(com.google.android.exoplayer2.upstream.TransferListener)"

 

1. 컴파일옵션 추가

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

2. 엑소플레이어 버전 업그레이드

def exoplayerVersion = "2.8.4" -> "2.9.6"

반응형