官网提示

LibVLC on Android demoThis 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?
参考:
https://www.cnblogs.com/brooks-dotnet/p/5406110.html
https://blog.csdn.net/u011365633/article/details/74278063

更多相关文章

  1. android的几种默认路径
  2. android 读取ini文件
  3. android上传文件到服务器
  4. android文件操作工具类
  5. Android(安卓)简易文件选择Dialog
  6. Android(安卓)Studio 在小米手机上成功运行
  7. android设置全屏模式
  8. android studio 复制项目
  9. 在Android中创建文件

随机推荐

  1. Android 用java语言执行Shell命令
  2. android仿178折网购社区
  3. Android(安卓)mount/unmount SD卡
  4. Android中在UI中加入线条
  5. Android 打开TextView中的超链接
  6. Android 系统自带Activity效果
  7. Android 水平的ListView
  8. AndroidStudio 编译项目报错 Android(安
  9. android view子类的构建
  10. android里图片下载工具类AsyncImageLoade