How to connect an Android device to Azure VM using Visual Studio

I want to connect my Android device to Azure VM using Visual Studio so that I can debug and deploy the application. I created a virtual machine using a template that includes VS. In the RDP file, I edited the settings so that all ports are redirected to the virtual machine. This works fine with hard drives, but I can't get the Android device to appear in the virtual machine. Therefore, VS does not know about the device. USB debugging on the device and developer mode on the Win10 virtual machine are enabled.

stack overflow

I checked all the fields in the screenshot above.

Are there any tricks I need to do to get this to work?

+6
source share
1 answer

According to your description, based on my understanding, it looks like you want to map the Android USB device of the Android device to the remote Win10 virtual machine over the network to implement remote debugging.

There are several device drivers that can help you access your remote USB device via USB over network . Meanwhile, I was looking for an existing SO stream. Using the USB port of the remote host as a local USB (Linux and Win) is very similar to your needs, but the USB/IP project mentioned in the stream does not seem to be suitable for your scenario, which is between two Windows OS

Suggest that you try to use some kind of business software, such as USB over network .

Hope this helps. Any concern, please feel free to let me know.

+1
source

Source: https://habr.com/ru/post/1011738/


All Articles