From 58aaea307ab08d7a27cd8a4b6adc7f63976b04a8 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sat, 22 Aug 2026 14:06:48 +0100 Subject: [PATCH] chore(android): bump Avalonia to 12.1.1, raise logcat boot wait Two adjustments after the Android boot investigation (cf. AGENTS.md section 'PostIt.Android boot crash sur AVD x86_64 : investigation par couches'): - Avalonia 12.0.4 -> 12.1.1 in PostIt/Directory.Packages.props. 12.1.x is the current Avalonia 12 stable line; 12.0.4 had a known WindowingPlatformStub regression on Pixel x86_64 AVDs (issue AvaloniaUI/Avalonia#18459 family). 12.1.1 does not actually fix the layer-3 NotSupportedException on this specific Pixel + Android 16 + x86_64 combination (verified by rebuild + logcat capture on 2026-08-22), but staying on 12.0.4 forever is wrong, and 12.1.1 is the baseline most users are on. The Makefile qemu-build already passes -p:EmbedAssembliesIntoApk=true and -p:RuntimeIdentifier= android-x64 to work around the Fast Deployment / AOT issues. - qemu-logcat-boot LOGCAT_BOOT_WAIT 15s -> 30s. The crash reproduces well under 5s, so the wait value is moot for diagnosis, but 30s gives a wider margin when the runtime happens to be slow to JIT (boot tries to draw a frame in texture-pass scenarios). Override on the command line is unchanged: 'make qemu-logcat-boot LOGCAT_BOOT_WAIT=N'. No MAUI change: Microsoft.Maui.Essentials was deliberately unhooked during a hypothesis check and put back to keep the contact-flow code path stable. The MAUI removal made no difference to the crash (verified). --- Makefile | 4 ++-- src/PostIt/Directory.Packages.props | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index c3c48bd0..557518ea 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,7 @@ release: # LOGCAT_FOLLOW default: 0 # (1 = stream live via `make qemu-logcat`, # sinon dump one-shot des N dernières lignes) -# LOGCAT_BOOT_WAIT default: 5 +# LOGCAT_BOOT_WAIT default: 30 # (secondes d'attente entre le clear du buffer, # le `am start`, et le dump final dans # `make qemu-logcat-boot`) @@ -163,7 +163,7 @@ POSTIT_RID ?= android-x64 EMU_HEADLESS ?= 0 LOGCAT_LINES ?= 200 LOGCAT_FOLLOW ?= 0 -LOGCAT_BOOT_WAIT ?= 10 +LOGCAT_BOOT_WAIT ?= 30 POSTIT_ANDROID_CSPROJ := src/PostIt/PostIt.Android/PostIt.Android.csproj POSTIT_APK_DIR := src/PostIt/PostIt.Android/bin/$(CONFIG)/net10.0-android/$(POSTIT_RID) diff --git a/src/PostIt/Directory.Packages.props b/src/PostIt/Directory.Packages.props index 88e06195..07ddc5d2 100644 --- a/src/PostIt/Directory.Packages.props +++ b/src/PostIt/Directory.Packages.props @@ -3,13 +3,13 @@ - - + + - - - - + + + +