Answers for "react native exo player build errior resize mode stringdef contextcompat"

0

react native exo player build errior resize mode stringdef contextcompat

In these 2 files...

.../node_modules/react-native-video/android-exoplayer/src/main/java/com/brentvatne/exoplayer/VideoEventEmitter.java:3: error: package android.support.annotation does not exist
import android.support.annotation.StringDef;

.../node_modules/react-native-video/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ResizeMode.java:3: error: package android.support.annotation does not exist
import android.support.annotation.IntDef;

replace android.support with androidx

for this one...

.../node_modules/react-native-video/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java:5: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;

replace android.support.v4 with androidx.core
Posted by: Guest on June-21-2020

Code answers related to "react native exo player build errior resize mode stringdef contextcompat"

Code answers related to "Javascript"

Browse Popular Code Answers by Language