Make $(AndroidLinkResources)
able to be the default for MAUI projects
#7194
Labels
Area: App+Library Build
Issues when building Library projects or Application projects.
enhancement
Proposed change to current functionality.
Milestone
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
.NET 7
Description
Context: dotnet/maui#7038
We found some Telerik and/or other vendor libraries would fail due to this code in SkiaSharp:
https://github.com/mono/SkiaSharp/blob/4a687a87b86f127ccc23116ee410dcb5df8fca63/source/SkiaSharp.Views/SkiaSharp.Views.Android/SKCanvasView.cs#L48-L61
So if we don't finish #6427 for .NET 7, we could consider:
SKCanvasView
so it doesn't use aStyleable int[]
.AndroidLinkResources
linker step encounters aint[]
AndroidLinkResources=true
by default for MAUI projectsSteps to Reproduce
SKCanvasView
in a project-c Release -p:AndroidLinkResources=true
Did you find any workaround?
Don't use
$(AndroidLinkResources)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: