How to connect a virtual device / emulator to a Visual Studio Xamarin Android project?

I created an Android application for Ice Cream Sandwich and did not add anything to the code by default (except for changing the text of the Hello World message - I could not or did not help myself).

I mashed the F5.

Nada - the device is not connected. The drop-down list says: "No devices connected."

So, I installed one of them using the "Open Android Emulator Manager" button, which was added by the Xamarin installation:

enter image description here

I mashed F5 again; same problem. He said to select a device from the drop-down list (I forgot to explicitly select the one I just created). But ... there is nothing on the list. Why not?

UPDATE

; , , Android ( "Android SDK Manager", Xamarin).

, " " Eclipse/Android/Java.

+4
1

, .

, , Visual Studio .

, ADB.

  • .
  • , Android SDK ( "% LocalAppData%\Android\android-sdk\platform-tools" ).
  • 'adb kill-server'.
  • "adb devices" ( ).
  • VS, .
+11

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


All Articles