-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] "Error processing launch options at field: program" when debugging for Android #1578
Comments
Hi @baebranch, according to the repro steps you provide, you shouldn't expect the app to start debug if you are selecting an "Android (build only)". The purpose of that build only debug target is to just build your project, because for now the "right click > Build solution" option is not supported for MAUI. |
Sorry I came across a few bugs and didn't update the issue properly. That was related to a pre-launch command that was doubled quoted and causing errors, which I replaced myself. However I've selected an android emulator device, I was just indicating that in the build only option it built with my updated prelaunch build task, loads onto the emulated device and then then shows that error popup. |
@mauroa, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer. |
Thanks @baebranch. Regarding this: "That was related to a pre-launch command that was doubled quoted and causing errors, which I replaced myself.", I'm not clear if you got unblocked or if you are still having issues. In case you still have issues, could you share the launch.json with the custom steps that you are using? |
I upgraded to .net 9 and the app loads correctly on the emulator but gets stuck at "waiting for debugger" message or just stuck on the splash screen. There are also issues recognizing the running AVD and discovering all of the configured AVDs. This is the modified task in
|
@mauroa, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer. |
Describe the Issue
When debugging a .NET Maui app on the android platform with a device selected the error message "Error processing launch options at field: program" pops up. No error output. Nothing else to go on. The app also freezes on the default ".NET" splash screen. Not sure if this would then be related to this issue #1521 .
Steps To Reproduce
Install .NET MAUI extension
Select ".NET: New Project" in vscode command palette
Configure target debug device to "Android" by clicking "{}" in bottom status bar
"F5" to start debugging
Pop up shows "Error processing launch options at field: program"
Expected Behavior
The app should start debugging on the android emulator
Environment Information
v1.5.19 (pre-release)
v1.12.37 (pre-release)
v2.50.27
8.0.204
The text was updated successfully, but these errors were encountered: