unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
9.07k stars 735 forks source link

How can I run/debug an app on an Android phone? #18973

Open ygoe opened 2 hours ago

ygoe commented 2 hours ago

Your feedback

I tried to find out how to run an app from Visual Studio on my Android phone. I only found out how to publish it as .apk file to install. But it tkaes very long and copying the file over is an extra step. I'm looking for a debug process where I can immediately start my app on the phone, make changes and repeat. Is that possible? I think it was possible with MAUI at some point but I never really used that (or any Android development).

I have enabled Wifi debugging on the phone, so it should be available somehow. Don't want to connect a USB cable as that port is normally covered.

ygoe commented 2 hours ago

PS: I forgot to mention the Android app installation process that includes some lengthy scanning. And now I see that my app doesn't work. It crashes in my first button event handler. So I really need a debugger to get it working.