Android Studio doesn't see genymotion

空扰寡人 提交于 2019-11-28 04:27:42

Genymotion by default uses it's own ADB binary. If it has a different version than the one Android Studio is using, they can conflict and you get lots of issues. One of them can be Genymotion not being detected, and problems deploying apps.

I would recommend setting Genymotion to use the ADB/Android SDK that Android Studio is also using, instead of using the default one. That way you will avoid conflicts on future updates.

Biu

You MUST install the plug-in for Genymotion first, click the "File" tab locate the "Plug-in" option, down the bottom, search for Genymotion, then install. After the installation, you need to restart Android Studio, after that, you will see the Genymotion icon near the "Sdk Manager" icon, click on it, then just specify the location of your Genymotion installation. Also, make sure you have "Oracle Virtual Box" installed in order to use Genymotion, it is a requirement.

Edit-

Then your genymotion virtual machines come up, click the one you want (I think it has to be off for start to be clickable/not greyed) then click start,

then click that green Play icon near the centre of the button bar below the menu bar, then the genymotion virtual machine should appear listed under 'running devices'. highlight it and click ok, and it should launch and show your program.

Open Genymotion Shell,use command line devices list will show the

then in cmd use command line adb connect IP address.if not show devices in studio.maybe restart studio.

One words(you need find your devices ip): adb connect 192.168.***.***:5555


2019-03-19 09:10:00

My enviroment:

  • Ubuntu 18.04
  • Genymotion Version 3.0.1
  • Android Debug Bridge version 1.0.40
  • AndroidStudio version 3.3.2

My problem:

  1. adb devices : list is empty
  2. no usb devices or running emulators detected

My solution :

  1. cd /opt/genymobile/genymotion
  2. ./genymotion-shell
  3. devices list (if no running devices start one)
  4. in other terminal run commond : adb connect yourDeviceIP:5555

Reference:

  1. https://stackoverflow.com/a/27262302/7707781
  2. https://stackoverflow.com/a/24926960/7707781

I had the same problem, I close genymotion, then clicked on Run button , so the "Select Deploymnt Target" dialog opened. after that I open genymotion as administrator, start virtual device and after a minute it appear in "Select Deploymnt Target" dialog.

I think the key point is that genymotion has to be run after android studio, and maybe with "Select Deploymnt Target" dialog has to be opened!

It works for me anyway

After few research I found a solution, open task bar and just End Process the adb.exe, hit run (android studio) and adb will be recreated and your genymotion emulator will be on the list. Thumbs up

When I updated Android Studio to 3.4, same problem is occured in my system.

  1. Open Genymotion program,
  2. Click "Genymotion" text on the upper left corner,
  3. "Settings" --> "ADB" --> check "Use Genymotion Android Tools (default)"
  4. Restart Genymotion program.

first install genymotion plugin and restart and android studio.After the restart you will see genymotion device manager icon near sdk manager icon select it and add the path where u have genymotion folder.If u didn't see the icon then search for genymotion device manager u will get it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!