bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.43k stars 8.11k forks source link

在gradle引入之后找不到Ijkvideoview 这个是自定义控件要自己写么? #4251

Open jygsdjflsd opened 6 years ago

jygsdjflsd commented 6 years ago

required

allprojects { repositories { jcenter() } }

dependencies {

required, enough for most devices.

compile 'tv.danmaku.ijk.media:ijkplayer-java:0.6.1'
compile 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.6.1'

# Other ABIs: optional
compile 'tv.danmaku.ijk.media:ijkplayer-armv5:0.6.1'
compile 'tv.danmaku.ijk.media:ijkplayer-arm64:0.6.1'
compile 'tv.danmaku.ijk.media:ijkplayer-x86:0.6.1'
compile 'tv.danmaku.ijk.media:ijkplayer-x86_64:0.6.1'

# ExoPlayer as IMediaPlayer: optional, experimental
compile 'tv.danmaku.ijk.media:ijkplayer-exo:0.6.1'

} 根据网上发的使用教程引入,版本号改为:0.8.8,但是找不到IjkVideoView, 这个自定义控件需要自己写么?谢谢

Yihuan00 commented 6 years ago

可以copy example里面的的IjkVideoView