Exoplayer jar文件 [英] Exoplayer jar file

查看:228
本文介绍了Exoplayer jar文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将exoplayer库导入到我的项目中,但是遇到很多错误,因此我决定将exoplayer添加为jar文件,但问题是我无法在Internet上找到要下载的文件.

I'm trying to import exoplayer library to my project but I get many errors, so I decided to add exoplayer as a jar file but the problem is I cannot find it in internet to download.

推荐答案

每个 ExoPlayer Github存储库,您必须下载存储库并手动构建一个jar.完整说明可在 Google Media Framework广告示例.

Per the ExoPlayer Github repository, you must download the repository and build a jar manually. Full instructions can be found at the Google Media Framework ad sample.

但是,如果您使用的是Gradle和Android Studio,则完全不需要下载jar,而只需使用 jcenter依赖:

If you are using Gradle and Android Studio, however, you don't need to download the jar at all, instead using the jcenter dependency:

compile 'com.google.android.exoplayer:exoplayer:r1.4.1'

这篇关于Exoplayer jar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆