mfkl / libvlc-nuget

NuGet packaging setup for LibVLC
GNU Lesser General Public License v2.1
63 stars 10 forks source link

System.DllNotFoundException: libvlc #17

Closed mmehdidehghani closed 5 years ago

mmehdidehghani commented 5 years ago

I installed LibVLCSharp on my Xamarin.Form project (.Net Standrad 2.0 - Xamarin.Forms v 3.3) accourding to @matt-goldman following steps :

1- LibVLCSharp and LibVLCSharp.Forms installed in shared project 2- LibVLCSharp, LibVLCSharp.Forms and VideoLAN.LibVLC.Android installed in Andoid project 3- updated all packages

But i get the "System.DllNotFoundException: libvlc" error on : Core.Initialize(); _libVLC = new LibVLC():

jeremyVignelles commented 5 years ago

Unless I'm mistaking, you need LibVLCSharp.Forms.Android on your android project.

mmehdidehghani commented 5 years ago

Dear jeremyVignelles Thanks alot for your reply. 🌹🌹🙏🏻🙏🏻 I couldn't find the LibVLCSharp.Forms.Android NuGet package. Could you please help me how can i do that? Best regards.

jeremyVignelles commented 5 years ago

I forgot my PC this weekend and was in a middle of the crowd yesterday when I replied. It seems I was mistaking, there's no such thing as .Forms.Android. Given I'm on the phone, here is a few things that comes to my mind without the ability to check:

mmehdidehghani commented 5 years ago

Dear @jeremyVignelles I'm soooooooooo sorry for my comment in this page: 🙈🙈🙈🙈🙈https://code.videolan.org/videolan/LibVLCSharp/issues/109

Thank you sooooooooooooo much for your reply in your vaction. 🙈🙈🙈🙈🌹🌹🌹🌹

Answer to your questions:

Xamarin.Forms 3.3.0

I hope u will have fun in your vacation Best Regards

jeremyVignelles commented 5 years ago

Can you try targetting android 8.1 or later? seems that LibVLCSharp targets monoandroid81, I don't know if the version are linked...

mmehdidehghani commented 5 years ago

Dear @jeremyVignelles I attched my settings. capture3

jeremyVignelles commented 5 years ago

I've no other idea, can you clone the LibVLCSharp repo and run the Forms.Android project on your device?

mmehdidehghani commented 5 years ago

Dear @jeremyVignelles Thank you so much for your replies. I checked it on my device but it didn't work. :(

mfkl commented 5 years ago

Share a git repo so I can reproduce the issue locally.

Next time you spam I ban you.