Closed theRealSheng closed 4 months ago
I believe RNTP has plans to migrate to media3 from exoplayer2, so until then(tm)
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Describe the Bug
Steps To Reproduce App calls setupPlayer.
Code To Reproduce
track_player_service.tsx
Index File
AppRegistry.registerComponent(appName, () => App); TrackPlayer.registerPlaybackService(() => PlaybackService);
Things that could affect:
Android/App/Build.gradlew
configurations { implementation.exclude(group: 'com.google.guava', module: 'guava') implementation.exclude(group: 'com.google.guava', module: 'listenablefuture') implementation.exclude(group: 'com.google.guava', module: 'failureaccess') }
I have tried to fix the guava issue by adding this to the dependecies in the App build.gradlew
Replicable on Example App? Yes, if I add the configuration.
Environment Info: System: OS: macOS 13.4 CPU: (12) x64 Apple M2 Max Memory: 1.87 GB / 64.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 19.7.0 - /usr/local/bin/node Yarn: 1.19.1 - /usr/local/bin/yarn npm: 9.5.0 - /usr/local/bin/npm Watchman: 2023.06.12.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.12.1 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4 Android SDK: Not Found IDEs: Android Studio: 2022.1 AI-221.6008.13.2211.9619390 Xcode: 14.3/14E222b - /usr/bin/xcodebuild Languages: Java: 11.0.16.1 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.13 => 0.71.13 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Emulator, Android
How I can Help com.google.android.exoplayer2 seems to be using guava version lower than 31 which it is causing the problem.