doublesymmetry / react-native-track-player

A fully fledged audio module created for music apps. Provides audio playback, external media controls, background mode and more!
https://rntp.dev/
Apache License 2.0
3.23k stars 998 forks source link

error: package com.google.android.exoplayer2.metadata.icy does not exist #737

Closed alexkendall closed 3 years ago

alexkendall commented 4 years ago

Getting this error after installing and linking with react-native-link.

Guichaguri commented 4 years ago

Which version of react-native-track-player are you using? Which version of React Native are you using? Are you using any other native modules (such as react-native-video), which ones?

rsokz commented 4 years ago

@Guichaguri Hi, going to jump in. @alexkendall was working with me on this.

We are on version #v2.0.0-rc13. We created a fork to fix this issue: https://github.com/alexkendall/react-native-track-player

Hoping there's an easier solution.

We have no other related native-modules.

"dependencies": {
    "@babel/runtime": "7.1.2",
    "@segment/analytics-react-native": "^1.1.0-beta.1",
    "axios": "0.18.0",
    "bugsnag-react-native": "2.13.1",
    "hermesvm": "^0.1.1",
    "jsc-android": "^241213.1.0",
    "lodash": "4.17.11",
    "moment": "2.23.0",
    "prop-types": "15.7.2",
    "react": "16.8.6",
    "react-native": "0.60.5",
    "react-native-animatable": "1.3.2",
    "react-native-awesome-alerts": "1.2.0",
    "react-native-background-timer": "2.1.1",
    "react-native-branch": "^4.1.0",
    "react-native-deep-linking": "2.2.0",
    "react-native-default-preference": "1.3.2",
    "react-native-fast-image": "5.1.2",
    "react-native-fbsdk": "^1.0.3",
    "react-native-firebase": "^5.5.6",
    "react-native-keyboard-aware-scroll-view": "0.7.4",
    "react-native-linear-gradient": "2.5.3",
    "react-native-loading-spinner-overlay": "1.0.1",
    "react-native-localization": "2.1.0",
    "react-native-material-menu": "0.5.1",
    "react-native-nodemediaclient": "0.1.2",
    "react-native-onesignal": "^3.4.1",
    "react-native-permissions": "1.1.1",
    "react-native-router-flux": "4.0.5",
    "react-native-share": "1.1.3",
    "react-native-simple-twitter": "2.3.0",
    "react-native-snap-carousel": "3.7.5",
    "react-native-splash-screen": "^3.2.0",
    "react-native-swift": "^1.2.2",
    "react-native-swipe-list-view": "1.5.0",
    "react-native-system-setting": "1.7.2",
    "react-native-track-player": "alexkendall/react-native-track-player#v2.0.0-rc13",
    "react-native-twitter-signin": "git+https://github.com/i3i2uno/react-native-twitter-signin.git",
    "react-native-uuid-generator": "5.0.0",
    "react-native-vector-icons": "6.0.2",
    "react-native-voice": "^0.3.0",
    "react-native-wowza-gocoder": "git+https://github.com/findnedl/react-native-wowza-gocoder.git",
    "react-redux": "5.0.7",
    "redux": "4.0.1",
    "redux-logger": "3.0.6",
    "redux-persist": "5.10.0",
    "redux-thunk": "2.3.0",
    "tipsi-stripe": "6.1.2"
  }
rsokz commented 4 years ago

Still hoping to get some help with this.

Guichaguri commented 4 years ago

Another module is probably using an older version of ExoPlayer, and that is conflicting with react-native-track-player.

Open Android Studio, go into the Gradle tab and run the dependency task or run gradle app:dependency instead. That should give the full dependency tree list, making it easier to find the module that is using the older version.