Open moljac opened 23 hours ago
This appears to be a stack overflow:
Repeat 13729 times:
--------------------------------
at generator.SourceWriters.BoundMethod.GetDeclaringTypeOfExplicitInterfaceMethod(MonoDroid.Generation.Method)
--------------------------------
at generator.SourceWriters.BoundMethod..ctor(MonoDroid.Generation.GenBase, MonoDroid.Generation.Method, MonoDroid.Generation.CodeGenerationOptions, Boolean)
at generator.SourceWriters.BoundInterface.AddMethods(MonoDroid.Generation.InterfaceGen, MonoDroid.Generation.CodeGenerationOptions)
at generator.SourceWriters.BoundInterface..ctor(MonoDroid.Generation.InterfaceGen, MonoDroid.Generation.CodeGenerationOptions, MonoDroid.Generation.CodeGeneratorContext, MonoDroid.Generation.GenerationInfo)
at MonoDroid.Generation.JavaInteropCodeGenerator.WriteType(MonoDroid.Generation.GenBase, System.String, MonoDroid.Generation.GenerationInfo)
at MonoDroid.Generation.InterfaceGen.Generate(MonoDroid.Generation.CodeGenerationOptions, MonoDroid.Generation.GenerationInfo)
at Xamarin.Android.Binder.CodeGenerator.Run(Xamarin.Android.Binder.CodeGeneratorOptions, Java.Interop.Tools.Cecil.DirectoryAssemblyResolver)
at Xamarin.Android.Binder.CodeGenerator.Run(Xamarin.Android.Binder.CodeGeneratorOptions)
at Xamarin.Android.Binder.CodeGenerator.Main(System.String[])
Working on a fix here: https://github.com/dotnet/java-interop/pull/1261
It may be able to be worked around by using <remove-node>
on io.grpc.InternalConfigurator
.
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
nuget packages AndroidX and GooglePlayServices-Firebase-MLKit
Description
Bindings for
io.grpc:grpc-api:1.64.2
crashesdotnet build
Steps to Reproduce
Did you find any workaround?
No. undergoing investigation.
Relevant log output
Binlog hangs MsBuildLogViewer (Avalonia App) on Mac.
msbuild.binlog.zip
Online version at https://live.msbuildlog.com/