Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 77
    • Issues 77
    • 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
  • VideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #49

Closed
Open
Created Nov 08, 2018 by Tushar Koshti@TusharKoshti

DllNotFound - Android

Thanks, @mfkl for commenting on the issue https://github.com/07101994/xamarin-video-player/issues/1.

This issue relates to https://github.com/07101994/xamarin-video-player/issues/1 & https://github.com/07101994/xamarin-video-player/issues/2.

I am working on an open source video player with the LibVLCSharp library but I am facing an intermittent issue in that. The app is working fine but there is an intermittent issue of video playback doesn't work after the app ask for storage permission for the Android platform.

The issue reproducible code can be found at https://github.com/07101994/xamarin-video-player master branch.

This issue only relates to the Android platform.

Error messages:

DllImport error loading library 'libvlc': 'dlopen failed: library "/data/app/com.companyname-1/lib/arm64/libvlc" not found'.

DllImport error loading library '/system/lib/libvlc.so': 'dlopen failed: library "/data/app/com.companyname-1/lib/arm64//system/lib/libvlc.so" not found'.

Description:

Whenever fresh install of the app is done on the Android mobile the app debugs fine, but when the app is updated over the previously installed app the above error is displayed and the Android app crashes.

Steps to reproduce:

  1. Run the app from the Visual Studio.
  2. Verify that the app works well by selecting Video file from the video selector intent.
  3. Close the app.
  4. Run the app again and try out some other videos and verify that the above error shows up in the debug console and the video file is not playing anymore.

As a work around, the app needs to uninstalled from the smartphone and installed again in order to make the app debuggable again.

Let me know if you need further more details on this.

Edited Nov 08, 2018 by Martin Finkel
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