Visual Studio and Android Device Monitor doesn't detect any devices

后端 未结 12 1638
闹比i
闹比i 2021-01-12 10:43

I\'ve just installed VS2015 Community with Xamarin to develop some mobile apps. The problem is, I can\'t achieve debugging Android apps on any device. Android Device Monitor

12条回答
  •  感动是毒
    2021-01-12 11:18

    I wasn't getting the USB debugging prompt on the device to trust the PC it was connected to and it wasn't appearing in the drop down list of devices in Visual Studio or ADB. Tried many things but installing the USB driver for the device (in my case Sony Xperia XA1 from: https://developer.sony.com/develop/drivers/

    After installing this device driver by right-clicking the ADB Interface device in Device Manager and choosing the downloaded driver it showed the prompt to allow the PC and now works fine. This was on Windows 8.1 . I don't remember having to do the same for my Windows 10 PC.

提交回复
热议问题