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 82
    • Issues 82
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • 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
  • #403
Closed
Open
Issue created Oct 11, 2020 by MIke Drtikol@multileech

VLC and uno(android) issuess

Summary

There is an issue with uno platforms and vlc libs.

Minimal project and steps to reproduce

SampleUNO.zip

What is the current bug behavior?

Well it is very simple, took your example copy it over to my project and run it. It does work on UWP, but not on android.

What is the expected correct behavior?

to run it on all platforms.

Does it work on other plaforms? Does it work with the official VLC apps?

Relevant logs and/or screenshots

System.Exception
  Message=Failed to load App21.MainPage: System.MissingFieldException: Field not found: Windows.UI.Xaml.DependencyProperty Windows.UI.Xaml.Controls.Control.TemplateProperty Due to: Could not find field in class
  at LibVLCSharp.Uno.GlobalStaticResources+<>c.<RegisterImplicitStylesResources_VideoView_Android_iOS_0654003b6e8285e8171ea5eceba6aa4a>b__10_0 () [0x00000] in <de715ee4ad7348fc8ef53b14b6ff826f>:0 
  at Windows.UI.Xaml.Style.GetDefaultStyleForType (System.Type type, System.Boolean useUWPDefaultStyles) [0x00041] in C:\agent\_work\1\s\src\Uno.UI\UI\Xaml\Style\Style.cs:186 
  at Windows.UI.Xaml.Style.GetDefaultStyleForType (System.Type type) [0x00000] in C:\agent\_work\1\s\src\Uno.UI\UI\Xaml\Style\Style.cs:168 
  at Windows.UI.Xaml.FrameworkElement.ApplyDefaultStyle () [0x00010] in C:\agent\_work\1\s\src\Uno.UI\UI\Xaml\FrameworkElement.cs:443 
  at Windows.UI.Xaml.FrameworkElement.ApplyStyles () [0x00006] in C:\agent\_work\1\s\src\Uno.UI\UI\Xaml\FrameworkElement.cs:295 
  at Windows.UI.Xaml.FrameworkElement.CreationComplete () [0x00014] in C:\agent\_work\1\s\src\Uno.UI\UI\Xaml\FrameworkElement.cs:313 
  at App21.MainPage+<>c__DisplayClass7_0.<InitializeComponent>b__5 (LibVLCSharp.Uno.VideoView c0) [0x00074] in D:\Private\Projects\csharp\App21\App21\App21.Droid\obj\Debug\90\g\XamlCodeGenerator\MainPage_626211399187badbede80ecddd188387.g.cs:82 
  at App21.Droid.MainPage_626211399187badbede80ecddd188387XamlApplyExtensions.MainPage_626211399187badbede80ecddd188387_XamlApply (LibVLCSharp.Uno.VideoView instance, App21.Droid.MainPage_626211399187badbede80ecddd188387XamlApplyExtensions+XamlApplyHandler0 handler) [0x00001] in D:\Private\Projects\csharp\App21\App21\App21.Droid\obj\Debug\90\g\XamlCodeGenerator\MainPage_626211399187badbede80ecddd188387.g.cs:204 
  at App21.MainPage.InitializeComponent () [0x0002e] in D:\Private\Projects\csharp\App21\App21\App21.Droid\obj\Debug\90\g\XamlCodeGenerator\MainPage_626211399187badbede80ecddd188387.g.cs:55 
  at App21.MainPage..ctor () [0x00013] in D:\Private\Projects\csharp\App21\App21\App21.Shared\MainPage.xaml.cs:29 
  at App21.Droid.MetadataBuilder_645.CreateInstance () [0x00000] in D:\Private\Projects\csharp\App21\App21\App21.Droid\obj\Debug\90\g\BindableTypeProvidersSourceGenerator\BindableMetadata.g.cs:30590 
  at Windows.UI.Xaml.Controls.Frame.CreatePageInstance (System.Type sourcePageType) [0x00016] in C:\agent\_work\1\s\src\Uno.UI\UI\Xaml\Controls\Frame\Frame.cs:416 
  at Windows.UI.Xaml.PagePool.DequeuePage (System.Type pageType) [0x00007] in C:\agent\_work\1\s\src\Uno.UI\UI\Xaml\PagePool.cs:69 
  at Windows.UI.Xaml.Controls.Frame.CreatePageInstanceCached (System.Type sourcePageType) [0x00000] in C:\agent\_work\1\s\src\Uno.UI\UI\Xaml\Controls\Frame\Frame.cs:406 
  at Windows.UI.Xaml.Controls.Frame.InnerNavigate (Windows.UI.Xaml.Navigation.PageStackEntry entry, Windows.UI.Xaml.Navigation.NavigationMode mode) [0x0009b] in C:\agent\_work\1\s\src\Uno.UI\UI\Xaml\Controls\Frame\Frame.cs:313 

Environment

  • OS: Windows 10
  • Version 2004 / 19041.329
  • Device: PC
  • LibVLC version and architecture 3.4.8 / arm,x86
  • LibVLCSharp version 3.4.8

Possible fixes

Edited Oct 11, 2020 by MIke Drtikol
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