Error while updating property uri of a view managed by ExponentVideo
null
Failed resolution of: Lcom/google/android/exoplayer/trackselection/AdaptiveVideoTrackSelection$Factory;
Didn’t find class
“com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection$Factory” on path: DexPathList[[zip the “/data/app/com.x.app.y-1/base.apk”], nativeLibraryDirectories=[/data/app/com.x.app.y-1/lib/arm, /data/app/com.x.app.y-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
Hi @fausto - I just tried copying and pasting your code into a snack and it worked fine for me (though I did have to change ‘ and ’ to ' - maybe verify your editor is not auto-replacing single quotes with the “left” and “right” single quotes?)
Could you provide us with more information about your environment - e.g. which Expo sdkVersion are you using, which client app version, and what device are you running it on? And if this snack Video - Snack doesn’t reproduce the error for you, could you provide one that does, and maybe open a github issue here for it?
Hi @fausto - I made that example on snack, not my local environment.
Could you try removing your node_modules again and using yarn to install rather than npm? That will give you more predictable version numbers.
If that doesn’t work, you may need to un-detach your project and re-detach, as it looks like something got screwed up on the native Android side. Note that you’ll have to rerun react-native link for all of the third-party modules you have installed as well, so I’d definitely suggest version controlling before doing this step.