65

I updated 0.5 to 0.8.14 version of android studio , but now studio doesn't see genymotion , what I must do now ? Thanks for all .

Edit :I solved the problem by updating genymotion too

Jéwôm'
  • 3,202
  • 3
  • 28
  • 62
Sevket
  • 864
  • 1
  • 7
  • 13

10 Answers10

172

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.

enter image description here

Christian Göllner
  • 5,758
  • 4
  • 15
  • 19
  • I have done it but it still conflicts. I'm using ubuntu linux 14.04 The issue is that I have created link /usr/bin/adb to my customly installed adb Then in genymotion I have provided my custom adb. But when I run genymotion emulator the console adb stops working. It tries to restart the server but can't – Azamat Tokhtaev Jul 27 '15 at 12:55
  • I specified path to sdk (same as the one used by Android Studio) on Linux, and the small checkmark did not appear, but it did work. I was seeing it in adb devices before, but android studio didn't. After doing this, Restarted Android Studio and now it's working. Thanks for sharing this – GabLeRoux Mar 16 '16 at 19:22
  • Thanks Christian. Your solution worked for me. I'm using Ubuntu 15.10 and I hadn't specified correct Android SDK path. It was set to default path. – Suraj Dubey Apr 20 '16 at 15:38
  • Thank you. This answer should have been chosen as the right answer but author didn't chose anything... – user25 Jun 18 '16 at 20:02
  • Very great!!, you saved my time. Thank you so much – Luc Oct 24 '16 at 08:35
  • Man I just love SO. Definitely not everything with it, but some – user2875404 Jul 06 '17 at 20:08
25

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- enter image description here

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,

enter image description here

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.

enter image description here

barlop
  • 10,225
  • 7
  • 63
  • 94
Biu
  • 1,026
  • 10
  • 17
  • 1
    On the genymotion device manager screen, the instance shows Status = On, yet in the Choose Device screen that follows, I get a blank screen! There appears to be an issue with geny and the latest android studio 2 – rmirabelle Apr 29 '16 at 16:00
  • 4
    Installing this plugin is ABSOLUTELY unnecessary. – Vahid Amiri Jan 14 '17 at 17:33
  • @VSG24 why not? – Biu Jan 15 '17 at 19:10
  • 1
    @Biu Because all it does is add a button to Android Studio that lets user open a window with VMs listed in it (The very same thing can be done using Genymotion program itself) – Vahid Amiri Jan 15 '17 at 19:30
  • @VSG24 I don't know, that was what I did to make Android Studio see Genymotion – Biu Jan 15 '17 at 20:25
9

Open Genymotion Shell,use command line devices list will show the enter image description here then in cmd use command line adb connect IP address.if not show devices in studio.maybe restart studio.

chinaanihchen
  • 398
  • 2
  • 5
6

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
Tom
  • 101
  • 1
  • 3
4

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

farhad.kargaran
  • 1,932
  • 1
  • 18
  • 27
3

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

ralphgabb
  • 9,100
  • 2
  • 41
  • 48
1

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.

enter image description here enter image description here

TeachMeJava
  • 477
  • 7
  • 28
1
  • Go to Genymotion → Setting → ADB → Use Custom Android SDK tools (C:\Users\{username}\AppData\Local\Android\Sdk).
  • Go to Android Studio → Search for "Genymotion Device Manager" → Specific the part for Genymotion (C:\Program Files\Genymobile\Genymotion).
  • Go to Android Studio → View → Appearent → Toolbar.
double-beep
  • 3,889
  • 12
  • 24
  • 35
NavinLY
  • 11
  • 2
0

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

0

I have faced this problem once. I must connect it to adb server manually and it worked fine! just follow these steps:

1- open your emulator

2- after running, open oracle vm virualBox manager app

3- double click on your running emulator. you will see Ip management value. that's the emulator local ip address

4- go to your sdk manager path, then platform-tools directory

5- open cmd on this directory (or use cd command)

6- run adb connet ipAddress:5555

after that you will see connected to ip address text on the screen. go back to android studio and you see adb has appeared!

Hossein Karami
  • 540
  • 7
  • 10