Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot connect/deploy Visual Studio Xamarin on Bluestacks

I'm using MSVS2015Pro with Xamarin.

I also installed BlueStacks to get an AVD.

But for some reason the the BlueStacks AVD doesn't appear on the available devices list to debug with.

Check the following image:

enter image description here

[EDIT]

FYI: On the Visual Studio Output window I get the error (I didn't see before):

Emulator name lookup failed for emulator 'emulator-5554'

enter image description here

Any idea on how to solve this?

like image 569
nightclub Avatar asked Dec 11 '22 14:12

nightclub


1 Answers

How to connect Bluestacks (4) Android Emulator with Visual Studio (this case 2019):

Step 1:

Activate ADB-Settings in Bluestacks

enter image description here

Step 2:

In VS go to Tools -> Android -> Android Adb Command Prompt... and insert

adb connect 127.0.0.1:5555

Done!

You should now see the device, which is selected in the Bluestacks Advanced-Settings as Device-Profil enter image description here enter image description here

like image 154
Aiko West Avatar answered Feb 15 '23 05:02

Aiko West