Maui app crash in release mode while in debugg its working fine #23193
Unanswered
UmairHashmi90
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
-
AOT is known to screw things up in certain scenarios on iOS. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in my android option package formate for debugger apk and release for bundle
fast development is check
genrate per ABI is uncheck
use incremnetal packaging is check
multidex is uncheck
R8 code shrinker is uncheck
Developer instrumentation is check for debug and uncheck for release
AOT is check for Release
LLVM is uncheck
start traching is check for relaese
garbage collection is check
enable trimming is check for relase
Triming Granularity is link
java max heap is 1g
android manafist
proejct proerties
and MAUI.program
namespace PatientApp
{
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp()
.ConfigureSyncfusionCore()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
#if DEBUG
builder.Logging.AddDebug();
#endif
builder.Logging.AddDebug();
}
Beta Was this translation helpful? Give feedback.
All reactions