Visual Studio and Android Device Monitor do not detect any devices

I just installed the VS2015 community with Xamarin to develop some mobile applications. The problem is that I can not get debugging Android applications on any device. Android Device Monitor shows an empty list. I tried to connect different phones, which, as I know, were found on my other computer. I can examine their files from Windows Explorer, from there the computer sees them.

  • USB debugging on the phone is turned on.
  • The USB connection mode is set to the camera, unchanged.
  • I have the Google USB driver installed in the Android SDK manager.
  • I tried adb kill-server, adb start-server. Nothing changed. adb devices shows an empty list.

This is a device manager, while developer options are disabled by phone. enter image description here And here, with the developer options turned on, enter image description here I also tried updating the driver for the google usb driver, but Windows says that it is updated.

+4
source share
6 answers

You most likely did not provide access to the device. Try to enter the developerโ€™s settings on your smartphone and cancel authorization of USB debugging. Then connect the phone to the computer and wait for the pop-up window to appear on the phone, which you must accept. After accepting, you should see your device using adb devices.

You can also configure the connection mode to MTP (instead of the PTP camera).

, !

+13

: > > a > USB-

+3

, Google USB Android SDK Manager Google Nexus ( , https://developer.android.com/studio/run/win-usb.html); , , , , , . , Motorola, Droid . , - Windows , , .

+1

, Samsung Galaxy A5

  • Google
  • Samsung

Visual Studio . . USB.

+1

, Android, :

  • (, ) USB *
  • , Android AndroidManifest.xml
  • , .

* Android USB. :
Sony | Samsung | Google/Nexus | Blackberry

0

VS2015 (14.0.25402.00 Update 3) VS2017 (15.7.5).
, .forms 2.3.x 3.1.x...
( MS) Xamarin VS, ( ) "".forms VS2015 .forms 2.3x .forms 3.x VS2017.

-, - .forms 2.3.x VS2015 ( VS2013 VS2015).
dev (Samsung Galaxy S7), VS2015, dev- (Windows Explorer).
, ( , ), .forms VS2017.

VS2017 - , .
.. , VS2017 ( SW Xamarin) "" - VS2015 ...

0
source

All Articles