Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #186
Closed
Open
Issue created Jul 21, 2019 by Wessel Oosthuizen@wesoos

System.DllNotFoundException: libvlc

Summary

Hi I have a device running android 4.2 API 17.

During the Core.Initialize() method I get the error below.

Please advise.

Minimal project and steps to reproduce

This is happening with your samples forms android project as well.

What is the current bug behavior?

DLL not found error

What is the expected correct behavior?

Video should play

Relevant logs and/or screenshots

System.DllNotFoundException: libvlc at (wrapper managed-to-native) LibVLCSharp.Shared.Core+Native.JniOnLoad(intptr,intptr) at LibVLCSharp.Shared.Core.InitializeAndroid () [0x00001] in C:\Development\VLCSharp\libvlcsharp-3.x\LibVLCSharp\Shared\Core.cs:116 at LibVLCSharp.Shared.Core.Initialize (System.String libvlcDirectoryPath) [0x00007] in C:\Development\VLCSharp\libvlcsharp-3.x\LibVLCSharp\Shared\Core.cs:71 at LibVLCSharp.Forms.Sample.MainViewModel.Initialize () [0x00002] in C:\Development\VLCSharp\libvlcsharp-3.x\Samples\Forms\LibVLCSharp.Forms.Sample\MainViewModel.cs:42

Environment

  • OS: Android
  • Version 4.2 17
  • Device: Proprietary
  • LibVLC version and architecture: 3.1.2
  • LibVLCSharp version: 3.1.0

Possible fixes

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance