I want to debug my MAUI app on an Android device. The Android API version is in the allowed range. I connect the device to the PC where I use Visual Studio. Developer options are enabled. USB debugging is enabled. I go to Tethering & Mobile Hotspot and enable USB tethering. The tethering switch immediately goes back to off. The device does not appear in the Visual Studio selection of debug devices.
I tried with different USB cable and get the same issue.
How can I get the tethering working respectively how can I debug on my device?