NoSuchMethodError for com/google/android/exoplayer2/upstream/DefaultAllocator
问题 I am using com.amazon.android:exoplayer-ui:r2.5.4 in my project I just upgraded IDE to Android Studio 3.3.1. in my build.gradle I have below code for compile compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } While trying to build, I get this error: Task :app:mergeExtDexDebug FAILED AGPBI: {"kind":"error","text":"Default interface methods are only supported starting with Android N (--min-api 24): void com.google.android.exoplayer2.Player