moljac
moljac
without emoji2 new packages local build samples error (MacOSX): ``` MSBUILD : java error JAVA0000: Error in obj/Debug/net7.0-android/lp/300/jl/classes.jar:androidx/vectordrawable/graphics/drawable/Animatable2Compat$AnimationCallback$1.class: [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android] MSBUILD : java error JAVA0000: java.lang.NullPointerException [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj::TargetFramework=net7.0-android] MSBUILD : java error...
Possibly related: https://stackoverflow.com/questions/60797423/android-studio-r8-nullpointerexception https://issuetracker.google.com/issues/151969439 https://stackoverflow.com/a/48979662/83444
Artifacts that caused issues: ``` { "groupId": "androidx.core", "artifactId": "core-animation", "version": "1.0.0-alpha02", "nugetVersion": "1.0.0.22-alpha02", "nugetId": "Xamarin.AndroidX.Core.Animation", "dependencyOnly": false }, { "groupId": "androidx.vectordrawable", "artifactId": "vectordrawable", "version": "1.1.0", "nugetVersion": "1.1.0.24", "nugetId": "Xamarin.AndroidX.VectorDrawable",...
Aspire Starter ```csharp var builder = DistributedApplication.CreateBuilder(args); var apiService = builder.AddProject("apiservice"); builder.AddProject("webfrontend") .WithExternalHttpEndpoints() .WithReference(apiService); Console.WriteLine($"IP {apiService.GetEndpoint("http").Url}"); builder.Build().Run(); ``` results in: ``` Exception has occurred: CLR/System.InvalidOperationException An unhandled exception of type...
> C:\Users\charl\.nuget\packages\xamarin.google.guava.listenablefuture\1.0.0.9\buildTransitive\net6.0-android31.0\..\..\jar\guava-listenablefuture.jar:com/google/common/util/concurrent/ListenableFuture.class: 1>MSBUILD : java.exe error JAVA0000: Type com.google.common.util.concurrent.ListenableFuture is defined multiple times: C:\Users\charl\.nuget\packages\xamarin.google.guava.listenablefuture\1.0.0.9\buildTransitive\net6.0-android31.0\..\..\jar\guava-listenablefuture.jar:com/google/common/util/concurrent/ListenableFuture.class, obj\Debug\net7.0-android\lp\184\jl\libs\E0614835FEE16B6F.jar:com/google/common/util/concurrent/ListenableFuture.class 1>MSBUILD : java.exe error JAVA0000: Compilation failed You are using old version of nuget Explicitly...
When using SVG as plain MauiImage there is Exception ``` /usr/local/share/dotnet/packs/Microsoft.Maui.Resizetizer.Sdk/7.0.92/targets/Microsoft.Maui.Resizetizer.targets(531,9): error MAUI0000: System.Exception: Unable to allocate pixels for the bitmap. ``` Repro sample: [MauiApp5-main.zip](https://github.com/dotnet/maui/files/12332721/MauiApp5-main.zip)
@JoacimWall Try adding `Exclude = "Resources\Images\.DS_Store"` to `MauiImage` ``` ``` And please report here if that works or not. Investigating other workaround options.
Maybe slightly better workaround: Adding property: ``` $(DefaultItemExcludes);**\.DS_Store ``` Then using it for `ItemGroup`s: ``` ``` @mattleibow @drasticactions @PureWeen This workaround should be easy enough to add to template.
Working samples for 2 workarounds [Archive.zip](https://github.com/dotnet/maui/files/12320392/Archive.zip)
@JoacimWall @dom3d @UkeHa Any feedback for proposed workaround?