-
Notifications
You must be signed in to change notification settings - Fork 566
Issue #10700 Command line for R8 tasks is too long #11030
Description
Android framework version
net11.0-android (Preview)
Affected platform version
VS2026 Insiders [11619.145]
Description
Hi @jonathanpeppers
You requested that I try Net11 Preview 2 re issue #10700. I just did that and can confirm that the R8 task was successful. E.G., it built successfully with the latest NuGets packages. The debug build ran normally without problems. Unfortunately, the release build immediately crashed on startup – just the splash screen.
I’m including the msbuild.binlog and the logcat of the crash. The logcat file now contains extra logging in the OnResume() of the MainActivity to ensure the various values are correct, but it fails with A callback was made on a garbage collected delegate of type 'callback_factory!callback_delegate__V::Invoke'.
I’ve got no idea why that happens and what the above indicates. The net10.0-android36.1 production version of the app, using the older versions of the NuGets, is running perfectly, even on the latest Android 17 beta (CP21.260306.017).
Can you recommend the next steps to take or what you’d like me to test? Ideally, I’d like the #10700 fix backported to Net10, so I could proceed with Net10 and the latest NuGets and wait while Net11 matures.
Steps to Reproduce
N/A
Did you find any workaround?
No
Relevant log output
See attached files