將 ExoPlayer 新增到專案中

通過 jCenter

在專案的 build.gradle 檔案中包含以下內容:

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

其中 rX.XX 是你的首選版本。有關最新版本,請參閱專案的釋出 。有關更多詳細資訊,請參閱 Bintray上的專案。