I have a problem to build a expo detached project in android. When i build the project, the output from console build says: Failed to resolve: com.google.android.exoplayer:exoplayer-smoothstreaming:2.6.1
Steps to reproduce
- Init a project from: expo init
- Detach project with: exp detach
- Open /android in Android Studio
Solution attempts
Put the dependency manually in app/build.gradle
dependencies { implementation com.google.android.exoplayer:exoplayer-smoothstreaming:2.6.1 }
Install Repository and sync project from Android Studio, results in: SDK Manager Could not find dependency "com.google.android.exoplayer:exoplayer-smoothstreaming:2.6.1"
Invalidate caches and restart project from Android Studio - File/Invalidade Caches / Restart option
Helper links
Expo.io: https://docs.expo.io/versions/v31.0.0/
Detaching to ExpoKit: https://docs.expo.io/versions/v28.0.0/expokit/detach#__next
MVN Repository ExoPlayer Smoothstreaming: https://mvnrepository.com/artifact/com.google.android.exoplayer/exoplayer-smoothstreaming/2.9.2
thanks in advance.