-
Notifications
You must be signed in to change notification settings - Fork 557
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
Emulator/Android crashes when clicking a button (connected WCF service with NET MAUI for database) #5548
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Closed similar issues:
|
Hi @Thobs-Tricks , are you saying that the whole emulator crashes? Or the app you wrote is crashing within the emulator? |
The app i wrote crashes within emulator, when I click a button, below is the code inside my .cs file
|
Going by the stack trace, I believe this will either be a runtime bug, or an issue with your service. There's a connection issue with accessing your service and my guess is that if you deployed a .NET Android app without the MAUI UI Toolkit and ran that code, you would hit the same error. @Eilon IMO I think this should be moved to runtime. |
Well, I use the following link to connect the Service with the App. http://localhost:57888/Service1.svc The link works when I connect the Service with ASP .NET for web dev, |
I don't doubt you have an issue; it's that based on that stack trace, your issue isn't a MAUI UI one, but a runtime issue. The underlying exception is in |
ooh yeah, then please kindly move it to runtime issue slot, |
@Thobs-Tricks Try catching It does not look like MAUI exception, but:
From the runtime team (links below):
Additional questions:
More details collected during investigating this issue:
thanks |
Tagging subscribers to this area: @dotnet/area-system-threading-channels |
I'm able to reproduce the issue, and it appears to be a problem with DNS resolution within the android emulator on my end. Everything works fine when I use the IP address for the WCF service. Regarding the code snippet:
It throws the following error:
So, this doesn't seem to be a problem with the WCF product. |
Description
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.40 SR5
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
8.0.40 SR5
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: