Trying to create a new Microservice solution to see if it fulfills our needs better and I cannot get the MAUI app to start. Error occurs when the AppShell executes the InitializeComponent method.
Used the following settings during the creation process:
ABP Framework version: v8.3.0
Solution Template: Microservice
Name: Test.Microservices
- Dont use "local ABP framework"
DB Provider: Entity Framework Core
Database Type: SQL Server
UI Framework: Blazor Server
Mobile Framework: MAUI
Public Website: Yes
Optional Modules: Default
- Audit Logging
- GDPR
- Language Management
- OpenIddict UI
- SaaS
- Text Template Management
UI Themes: LeptonX
- Style: System
No Additional Options
Exception message and full stack trace: 0xFFFFFFFFFFFFFFFF in Android.Runtime.RuntimeNativeMethods.monodroid_debugger_unhandled_exception C# 0x1A in Android.Runtime.JNINativeWrapper._unhandled_exception at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:12,5 C# 0x1D in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:23,26 C# 0x7A in Autofac.Core.Resolving.ResolveOperation.ExecuteOperation C# 0x2 in Autofac.Core.Resolving.ResolveOperation.Execute C# 0x2D in Autofac.Core.Lifetime.LifetimeScope.ResolveComponent C# 0x7 in Autofac.Core.Container.ResolveComponent C# 0x2 in Autofac.Core.Container.Autofac.IComponentContext.ResolveComponent C# 0x31 in Autofac.ResolutionExtensions.TryResolveService C# 0x35 in Autofac.ResolutionExtensions.ResolveOptionalService C# 0x8 in Autofac.ResolutionExtensions.ResolveOptional C# 0x7 in Autofac.ResolutionExtensions.ResolveOptional C# 0x7 in Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService C# 0x2D in Microsoft.Maui.MauiContext.WrappedServiceProvider.GetService at D:\a_work\1\s\src\Core\src\MauiContext.cs:72,5 C# 0x2D in Microsoft.Maui.MauiContext.WrappedServiceProvider.GetService at D:\a_work\1\s\src\Core\src\MauiContext.cs:72,5 C# 0x2A in Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService C# 0x16 in Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService<Microsoft.Maui.IApplication> C# 0x51 in Microsoft.Maui.MauiApplication.OnCreate at D:\a_work\1\s\src\Core\src\Platform\Android\MauiApplication.cs:46,4 C# 0x8 in Android.App.Application.n_OnCreate at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net8.0/android-34/mcw/Android.App.Application.cs:1087,4 C# 0x8 in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:22,5 C#
Steps to reproduce the issue:
- Create new microservice solution
- Setup configuration files to point at the correct databases
- Start Redis Server in WSL
- Start Services
- Start Gateways
- Start Apps (except MAUI)
- Launch MAUI app in Android
- Get exception