-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Cannot debug .NET MAUI Android project on real Android physical device #9159
Comments
Without any error message or logs it will be impossible to diagnose this. Also, this is probably more of a tooling issue/question. Be sure to check out the build/deployment output windows and see if there is any more information in there. You probably want to try opening a discussion or maybe ask your question on Stack Overflow or if you think if there is an issue open one on the Visual Studio feedback portal, the link will be down below. |
Thanks for the issue report yschang! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS. If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.
This issue will be automatically closed in 3 days if there are no further comments. |
Thanks for the follow up. I did not see any log from the build output window, but I did see the following log from the deployment output window:
` |
This issue is being closed due to inactivity. If this issue is still affecting you, please follow the steps above to use the VS Feedback Tool to report the issue. |
Description
I want to develop a MAUI-App and debug it on my local Android device. I've followed this documentation - https://github.com/Sweekriti91/ArtAuction/blob/maui-projecthead/ArtAuction.Android/ArtAuction.Android.csproj
And tried running the app on my local Android device, but I'm only able to start a simulator. I see that my Android device is connected from "Android Local Devices", but I'm not sure how to start debugging on my phone. I had no trouble debugging on my local device when I was developing Xamarin, but now I'm having this trouble when developing .NET MAUI.
Steps to Reproduce
<EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
and rebuild Android project.Version with bug
6.0 Release Candidate 2 or older
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12
Did you find any workaround?
No, I tried Wi-Fi debugging, but gave me the same error
Relevant log output
The text was updated successfully, but these errors were encountered: