question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to connect to genymotion emulator?

See original GitHub issue

I got the name of emulator by ‘genyshell -c “device list”’.

F:\app\testApp>genyshell -c "devices list"
Logging activities to file: C:/Users/henryguo/AppData/Local/Genymobile/genymotio
n-shell.log
Connection mode: local host
Welcome to Genymotion Shell

Genymotion virtual device selected: galaxys4

Available devices:

 Id | Select |    Status     |   Type   |   IP Address    |      Name
----+--------+---------------+----------+-----------------+---------------
  0 |        |           Off |  virtual |         0.0.0.0 | Custom Phone - 4.4.4
 - API 19 - 768x1280
  1 |    *   |            On |  virtual |  192.168.56.102 | galaxys4
  2 |        |           Off |  virtual |         0.0.0.0 | Samsung Galaxy S4 -
4.4.4 - API 19 - 1080x1920

Then I try to connect the emulator by ‘tns emulate android --geny “galaxys4”’. But I got a error message. Anything wrong ?

BUILD SUCCESSFUL
Total time: 10 seconds
Project successfully built
Using  F:\app\testApp\platforms\android\bin\testApp-debug.apk
Command failed: ADB server didn't ACK
* failed to start daemon *
error:

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
eliezer387commented, Mar 22, 2017

you have to configure your Sdk path on the tab ADB of the Genymotion configuration

0reactions
teobugslayercommented, Apr 20, 2015

Hi @Nathanaela,

The mismatch in adb version happens because Genymotion comes with their embedded adb and adb versions are incompatible. The fix is to install the latest Android SDK and use its adb first. I am sorry for the inconvenience caused!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to connect to a Genymotion Desktop virtual device ...
Set your virtual device Network mode to Bridged. See Configuring a Virtual Device; Retrieve the virtual device IP address.
Read more >
How to Run Android Apps on Windows 10 with Genymotion
Working with Genymotion is rather easy. Click “+” to install virtual mobile devices to run your emulators. You can run more than one...
Read more >
How to Install Genymotion Emulator and Add it's Plugin to ...
It uses ADB to connect to any active virtual device and push the application. So in this article let's discuss how to install...
Read more >
Connect Genymotion from Another VirtualBox machine with adb
then in the VM's console check that adb devices show device connected (and not offline). Now your emulator should be connected to your...
Read more >
How to Setup Genymotion Emulator with Android Studio
Genymotion emulator is one of the most used Android Studio plugins where you can deploy and test your mobile apps. Here, we have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found