xamarin/Xamarin.Forms

[Bug] Xamarin.Forms 3.6 and Xamarin.Forms.Visual.Material 3.6 failed with exception when resources are defined in Android class library

Aberta

#6.343 aberto em 29 de mai. de 2019

 (1 comentário) (0 reação) (0 responsável)C# (1.926 forks)batch import
4.0.0e/3 :clock3:help wantedi/highinactivep/Androidt/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Description

To have multiple Android applications sharing the same resources mostly images, there's an Android class library containing the resources and assets, referenced by each Android app project. This has been working well with Xamarin.Forms 3.6. However, after introducing Xamarin.Forms.Visual.Material 3.6, the app fails at LoadApplication(new App());

Steps to Reproduce

https://github.com/zijianhuang/xamarinforms4bugs/tree/Branch_ResourcesLib was created from good tag ResourcesLibWorkingWell

Expected Behavior

Show Material Design rendering.

Actual Behavior

Crash at LoadApplication(new App()); with TargetInvocationException

Basic Information

  • Version with issue: Xamarin.Forms.Visual.Material 3.6.0.344457

  • Last known good version:

  • IDE: Visual Studio 2017 Pro

  • Platform Target Frameworks:

    • Android: 5,6,7,8,9

Reproduction Link

https://github.com/zijianhuang/xamarinforms4bugs/tree/Branch_ResourcesLib

Guia do colaborador