Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android video not playing solution #1022

Closed
RameshSain opened this issue May 18, 2018 · 0 comments
Closed

Android video not playing solution #1022

RameshSain opened this issue May 18, 2018 · 0 comments

Comments

@RameshSain
Copy link

RameshSain commented May 18, 2018

Use android-exoplayer instead of android player:-

You need to change your configuration like that ..

  1. Go to Settings.gradle

DO THIS

  • include ':app',

  •    ':react-native-video-exoplayer'
    
  • project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android')
  • project(':react-native-video-exoplayer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')

2.now go to app/build.gradle

DO THIS

  • compile project(':react-native-video-exoplayer')

If still you are facing issue in build then follow this

iamronsuez/rn-video#1

Thanks ,
Hope it will help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant