官网提示
libvlc on android demo this is a sample application demonstrating the use of libvlc on android. this repository contains only sample code, and the libvlc on android sdk (the libvlc aar) must be built and placed into the root project folder. //这里仅包含样例代码,aar必须要放进项目文件夹中
具体做法
copy libvlc/build/outputs/aar/libvlc-3.0.0.aar to the same directory as this readme and rename it to libvlc.aar. either build in android studio, or from the command line with gradle: ./gradlew assembledebug
我并没有找到readme文件,只是把从网上找到了一份libvlc-3.0.0.aar文件,下载了sample代码,将aar文件直接放到了libvlc目录下,就可以运行了
我是在手机上运行的,在模拟器上好像是不能运行的,会有abis错误,模拟器是x86而手机是arm?
如何在自己的项目里使用vlc?
如对本文有疑问, 点击进行留言回复!!
Codeforces C. A Cookie for You (模拟 / 分类 / 贪心) (Round #654 Div.2)
DialogFragment弹窗(带黑色透明背景和不带黑色透明背景)
网友评论