Xamarin emulator search failed for emulator-5554 emulator

I am developing xamarin on a remote computer and debugging a local Android emulator.
I use ssh tunnel to forward ports: -NR 5037: localhost: 5037

  • On a remote computer

    • adb devices ok

      List of connected devices
      device emulator-5554

    • Android studio found emulator-5554

    • But when I use Visual Studio. Here are the Xamarin diagnostics

      [I:]: Android device tracking started
      [D:]: Avd tracking started [D:]: avd watcher * .ini path: 'C: \ Users \ tuanha-01.android \ avd'
      [D:]: avd watchcher android path: 'C: \ Android \ ANDROI ~ 1 \ tools \ android.bat'
      [D:]: TrackDeviceTask received: device emulator-5554
      [I:]: a new list of devices from adb with 1 device appeared
      [D: RunShellCommand] : emulator-5554 getprop
      [D: RunShellCommand]: emulator-5554 getprop
      [D:]: avd watcher: got a list of devices from avd using 0 devices
      [E:]: emulator name search failed for emulator 'emulator-5554'

Edit: if I use Genymotion, on a remote Visual Studio you can view the Genymotion emulator

[I:]: Android [D:]: avd
[D:]: avd watcher *.ini : 'C:\Users\tuanha-01.android\avd'
[D:]: avd watchcher android path: 'C:\Android\ANDROI ~ 1\tools\android.bat'
[D:]: TrackDeviceTask : 192.168.31.101:5555
[I:]: adb 1
[D: RunShellCommand]: 192.168.31.101:5555 getprop
[D: RunShellCommand]: 192.168.31.101:5555 getprop
[D:]: avd watcher: avd 0

Android- .
: 127.0.0.1:8815: , 127.0.0.1:8816
, 127.0.0.1:8816

+4

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


All Articles