Na Pro Na Pro - 2 months ago 25
Android Question

How to use ExoPlayer

I want to use ExoPlayer in my app. Could you please tell me which is simplest example? I have tried to do likely https://github.com/google/ExoPlayer/ but it's not easy for me. I tried to import

library
as module then i received
bintray-release
error.

Answer

As stated in the main Readme.md, you can import ExoPlayer as you will do for any other dependencies :

In your app build.gradle > dependencies add :

compile 'com.google.android.exoplayer:exoplayer:rX.X.X'

The current version is r1.5.1 as of October 27, 2015. see here.

Comments