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

开放

#6,343 创建于 2019年5月29日

 (1 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
4.0.0e/3 :clock3:help wantedi/highinactivep/Androidt/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南