I can not connect the Visual Studio Emulator (Android) with Android Studio

0

I have tried all the solutions of YouTube and stack overflow without luck, I have Android Studio updated on one hand and the VisualStudio emulator running (it starts and runs without problems), however when using "adb devices" it does not appear I can run apps in the, as I say I have tried several solutions, among some: - Restart the adb manager - Add the "path" to the record - Make the project run on startup - Reinstall Android Studio from 0 ...

Thanks in advance.

    
asked by Goty Metal 22.01.2018 в 20:16
source

2 answers

0

Try to install Genymotion, it is an emulator of android devices, it is lighter and I think that it is much more fluid than the Android Studio Emulator itself. It is easy to install and configure, just keep the Virtual Box updated and install the devices you need, you can configure enough, and the best thing is that when you start (when it is perfectly configured) these emulators are detected as physical devices by the android studio. It may not be the answer you expected to use the tool you have, but I use this alternative that is excellent!

Thank you for your attention and I hope I have helped.

    
answered by 29.05.2018 в 20:22
0

If the emulator runs correctly and is not recognized by Android Studio, try changing the path where the emulator searches for ADB (Android Debug Bridge). The emulator uses a registry key to identify the base location of your Android SDK and looks for the file \ platform-tools \ adb.exe under that directory, as indicated by this page: link or

Run the following command:

¿reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android SDK Tools" /v 
Path /d %localappdata%\Android\sdk

In my case it worked, execute the command from CMD with administrator permissions.

The command was obtained from: link where they explain how to create the registry manually if it does not work for you.

    
answered by 20.09.2018 в 23:38