Navigate back to the homepage

App crashed immediately after install react native video or track player

Infinitbility
React Native
September 22nd, 2020 · 1 min read
App crashed immediately after install react native video or track player

Hello Friends.

Welcome to Infinitbility!

the react-native-video already installs on your project but after install react-native-track-player your app getting crashed or react-native-track-player already install on your project but after install react-native-video your app getting crashed then this article only for you.

Crashed Reason

both package use Exo player for playing audio and video i.e your app getting crashed because we know we can’t use multiple time same packages with different version

Solution

install react native track player version ^1.1.8 and react native video version ^5.0.2

Step 1

Remove react native video or react native track player

  • For react native track player
1npx react native unlink react-native-track-player
2
3npm uninstall react-native-track-player
  • For react native video
1npx react native unlink react-native-video
2
3npm uninstall react-native-video

Step 2

install compatible version

  • For react native track player
1npm install [email protected]^1.1.8
2
3npx react-native link react-native-track-player
  • For react native video
1npm install [email protected]^5.0.2
2
3npx react-native link react-native-video

if you get help, please share post on your social network

More From React Native Tutorial

Basics

  1. Introduction To React Native
  2. React Native Environment Setup using expo
  3. React Native Environment Setup for windows
  4. React Native Environment setup on Mac OS
  5. React Native Environment setup on linux
  6. React Native Project Structure
  7. React Native State
  8. React Native Props
  9. React Native Styling
  10. React Native Flexbox
  11. React Native Text
  12. React Native Textinput
  13. React Native Commands

Advances

  1. React Native Dark Mode
  2. React Native Fonts
  3. React Native SQLite
  4. React Native DatepickerAndroid
  5. React native ScrollView scroll to position
  6. How to align icon with text in react native
  7. React Native Image
  8. React Native Firebase Crashlytics
  9. React Native Async Storage
  10. React Native Share

Error & Issue Solution

  1. Task :app:transformDexArchiveWithDexMergerForDebug FAILED In React Native
  2. Expiring Daemon because JVM heap space is exhausted In React Native
  3. Task :app:transformNativeLibsWithMergeJniLibsForDebug FAILED In React Native
  4. Unable to determine the current character, it is not a string, number, array, or object in react native
  5. App crashed immediately after install react native video or track player
  6. how to delete SQLite database in android react native
  7. React native material dropdown twice click issue
  8. How to get the current route in react-navigation?
  9. how to disable drawer on the drawer navigation screen?
  10. Image not showing in ios 14 react native

Looking For React Native Tutorial?

we are trying to create the best Tutorial for react native developers.

When you want a daily updates about React Native Tutorial or infinitbility update subscribe to our newsletter.

Read React Native Tutorial

Request New Tutorial or Article on mail [email protected]

Join our email list and get notified about new content

No worries, I respect your privacy and I will never abuse your email.

Every week, on Tuesday, you will receive a list of free tutorials I made during the week (I write one every day) and news on other training products I create.

More articles from Infinitbility

React Native Font Family list

React Native Font Family list

In this article, we discuss about react native fonts, fonts list, custom fonts, and fonts ttf files.

September 16th, 2020 · 1 min read
MIGS VPC Payment integration in php

MIGS VPC Payment integration in php

In this article, we discuss how to integrate migs or vpc payment portal in php.

September 14th, 2020 · 1 min read
© 2020–2021 Infinitbility
Disclaimer
Link to $https://medium.com/infinitbilityLink to $https://www.facebook.com/InfinitbilityLink to $https://github.com/infinitbilityLink to $https://twitter.com/infinitbilityLink to $https://www.buymeacoffee.com/infinitbilityLink to $mailto:[email protected]