Closed ktjh123 closed 6 months ago
Update your dependencies in android/app/build.gradle
I changed version of exoplayer
from 2.7.1 to 2.17.1 then it compiled. (But I cannot get camera working)
implementation group: 'com.google.android.exoplayer', name: 'exoplayer', version: '2.17.1'
exoplayer 2.7.1 was in jcenter but is not in maven, so it can no longer be found at build time, it seems. I am trying exoplayer 2.13.3 because it is the lowest version available on maven.
Hi, did you manage to solve this? Trying to get Viro running on React Native 0.71.7.
@skizzo Have you managed somehow?
@ViktorVojtek I don't use Expo, but I managed to get Viro running on a regular RN 0.71.7 (iOS & Android) project.
Setting the exoplayer version to 2.17.1
like @siabard suggested was necessary to get it running on Android nonetheless:
Update your dependencies in
android/app/build.gradle
I changed version of
exoplayer
from 2.7.1 to 2.17.1 then it compiled. (But I cannot get camera working)implementation group: 'com.google.android.exoplayer', name: 'exoplayer', version: '2.17.1'
@skizzo Thanks a lot! :)
After following the guide, i got this when i run expo run:android
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
Try:
Get more help at https://help.gradle.org
Appreciate any help